From e15a3ec8474ddc79d4763b453cc27e5210beba41 Mon Sep 17 00:00:00 2001 From: Eduard Braun Date: Thu, 15 Jun 2017 02:50:29 +0200 Subject: Use CMAKE_RUNTIME_OUTPUT_DIRECTORY instead of the old EXECUTABLE_OUTPUT_PATH (notably this includes shared libraries on Windows which should end up together with the executables) Also use CMAKE_LIBRARY_OUTPUT_DIRECTORY instead of the old LIBRARY_OUTPUT_PATH --- testfiles/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testfiles') diff --git a/testfiles/CMakeLists.txt b/testfiles/CMakeLists.txt index 2b2f9b821..933d8478c 100644 --- a/testfiles/CMakeLists.txt +++ b/testfiles/CMakeLists.txt @@ -27,7 +27,7 @@ set(TEST_LIBS foreach(source ${TEST_SOURCES}) add_executable(${source} src/${source}.cpp unittest.cpp doc-per-case-test.cpp) target_link_libraries(${source} ${TEST_LIBS}) - add_test(NAME ${source} COMMAND ${EXECUTABLE_OUTPUT_PATH}/${source}) + add_test(NAME ${source} COMMAND ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${source}) add_dependencies(${source} inkscape_version) add_dependencies(check ${source}) endforeach() \ No newline at end of file -- cgit v1.2.3