未验证 提交 7be285a6 编写于 作者: C Chen Weihang 提交者: GitHub

remove useless property, test=develop (#25461)

remove useless property
上级 93ad3394
......@@ -36,7 +36,6 @@ endif()
# fluid_modules exclude API-interface of inference/api and inference/capi
get_property(fluid_modules GLOBAL PROPERTY FLUID_MODULES)
get_property(cuda_modules GLOBAL PROPERTY CUDA_MODULES)
add_subdirectory(api)
......
......@@ -93,13 +93,6 @@ if(WITH_GPU)
target_link_libraries(device_context cuda_resource_pool)
endif()
if(WIN32)
if(WITH_GPU)
get_property(cuda_modules GLOBAL PROPERTY CUDA_MODULES)
target_link_libraries(device_context ${cuda_modules})
endif(WITH_GPU)
endif(WIN32)
nv_test(device_context_test SRCS device_context_test.cu DEPS device_context gpu_info)
cc_test(init_test SRCS init_test.cc DEPS device_context)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册