remove useless property, test=develop (#25461)

remove useless property
fix_copy_if_different
Chen Weihang 5 years ago committed by GitHub
parent 93ad339450
commit 7be285a66f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)

Loading…
Cancel
Save