summaryrefslogtreecommitdiffstats
path: root/tests/SinkTest.cmake
diff options
context:
space:
mode:
authorChristian Mollekopf <mollekopf@kolabsystems.com>2018-05-19 11:41:11 -0700
committerChristian Mollekopf <mollekopf@kolabsystems.com>2018-05-19 11:41:11 -0700
commit60af4113391a1af9bfaeb4cffe306a1d18366dcf (patch)
tree8023037d9d0d5b47100aabc8342eafa66c30b272 /tests/SinkTest.cmake
parent84242164b171b98068f831345844c8781cec9ec3 (diff)
downloadsink-60af4113391a1af9bfaeb4cffe306a1d18366dcf.tar.gz
sink-60af4113391a1af9bfaeb4cffe306a1d18366dcf.zip
Get ctest to find the executable on windows
Diffstat (limited to 'tests/SinkTest.cmake')
-rw-r--r--tests/SinkTest.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/SinkTest.cmake b/tests/SinkTest.cmake
index d0cda8d..275bab9 100644
--- a/tests/SinkTest.cmake
+++ b/tests/SinkTest.cmake
@@ -14,7 +14,7 @@ endfunction(add_memcheck_test)
14macro(auto_tests) 14macro(auto_tests)
15 foreach(_testname ${ARGN}) 15 foreach(_testname ${ARGN})
16 add_executable(${_testname} ${_testname}.cpp) 16 add_executable(${_testname} ${_testname}.cpp)
17 add_test(${_testname} ${_testname}) 17 add_test(NAME ${_testname} COMMAND $<TARGET_FILE:${_testname}>)
18 add_memcheck_test(${_testname} ${_testname}) 18 add_memcheck_test(${_testname} ${_testname})
19 target_link_libraries(${_testname} 19 target_link_libraries(${_testname}
20 sink libhawd 20 sink libhawd