Skip to content
This repository was archived by the owner on Jul 8, 2022. It is now read-only.

Commit 53b4a4d

Browse files
committed
cpp_test_suite/environment/CMakeLists.txt: Use correct folder for tango_host file
The PROJECT_BINARY_DIR points to CMAKE_BINARY_DIR/cpp_test_suite but we want to have CMAKE_BINARY_DIR/ccp_test_suite/environment. Let's use no path as configure_file defaults to CMAKE_CURRENT_BINARY_DIR anyway and we use later calls in the same way. This issue was found with CMAKE 3.13.4 from debian buster.
1 parent 349b86d commit 53b4a4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp_test_suite/environment/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#TODO windows
2-
configure_file(tango_host.cmake ${PROJECT_BINARY_DIR}/tango_host @ONLY)
2+
configure_file(tango_host.cmake tango_host @ONLY)
33

44
configure_file(pre_test.sh.cmake pre_test.sh @ONLY)
55
execute_process(COMMAND chmod +x ${CMAKE_CURRENT_BINARY_DIR}/pre_test.sh)

0 commit comments

Comments
 (0)