Skip to content

Commit 85ac51a

Browse files
committed
wip: MSVC: tests/CMakeList: Run the binary from correct dir
1 parent 6905648 commit 85ac51a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function (add_sigcpp_test TEST_SOURCE_FILE)
6161
get_filename_component (test_name ${TEST_SOURCE_FILE} NAME_WE)
6262
add_executable (${test_name} ${TEST_SOURCE_FILE} testutilities.cc)
6363
target_link_libraries (${test_name} sigc-${SIGCXX_API_VERSION})
64-
add_test (${test_name} ${CMAKE_CURRENT_BINARY_DIR}/${test_name})
64+
add_test (${test_name} ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${test_name})
6565
endfunction (add_sigcpp_test)
6666

6767
foreach (test_file ${TEST_SOURCE_FILES})

0 commit comments

Comments
 (0)