commit 1dcbb6d9cc9050839c0ad39bb3d6151652cb92a5
parent 001c2ce68cbb20f4000bcb978aec0f6231dc6545
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Mon, 18 May 2015 16:31:14 +0200
Locally copy the test dependencies
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
@@ -54,7 +54,6 @@ include_directories(${RSys_INCLUDE_DIR} ${StarSP_INCLUDE_DIR})
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${RCMAKE_SOURCE_DIR})
include(rcmake)
include(rcmake_runtime)
-rcmake_append_runtime_dirs(_runtime_dirs RSys StarSP Star3D)
################################################################################
# Configure and define targets
@@ -116,7 +115,6 @@ if(NOT NO_TEST)
target_link_libraries(${_name} ${_lib})
endforeach(_lib)
add_test(${_name} ${_name})
- rcmake_set_test_runtime_dirs(${_name} _runtime_dirs)
endfunction(new_test)
if(CMAKE_COMPILER_IS_GNUCC)
@@ -127,10 +125,12 @@ if(NOT NO_TEST)
new_test(test_smc_solve ${MATH_LIB})
if(NOT TARGET Star3D)
+ rcmake_copy_runtime_libraries(test_smc_solve)
message(STATUS
"The Star-3D library is not found: cannot generate the light path test")
else()
new_test(test_smc_light_path)
+ rcmake_copy_runtime_libraries(test_smc_light_path)
target_link_libraries(test_smc_light_path Star3D)
set_target_properties(test_smc_light_path PROPERTIES
INCLUDE_DIRECTORIES ${Star3D_INCLUDE_DIR})