diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 6c2f19d961418fdda68bf54d4f4124933dd74e9d..88b9da12ed0f997530f45ff1ade4a46415e4a42b 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,7 +1,8 @@ # Copyright 2010, 2020, François Bleibel, Olivier Stasse, Guilhem Saurel, JRL, # CNRS/AIST, LAAS-CNRS -config_files_cmake(test-paths.h) +configure_file(${CMAKE_CURRENT_SOURCE_DIR}/test-paths.h.in + ${CMAKE_CURRENT_BINARY_DIR}/test-paths.h) # Make Boost.Test generates the main function in test cases. add_definitions(-DBOOST_TEST_DYN_LINK -DBOOST_TEST_MAIN)