diff options
author | Patrick Spendrin <ps_ml@gmx.de> | 2014-05-03 01:29:12 +0200 |
---|---|---|
committer | Patrick Spendrin <ps_ml@gmx.de> | 2014-05-03 23:57:54 +0200 |
commit | 6a19158806f831737e255524c047c0e44af327d2 (patch) | |
tree | 458c9db2ab82edd433c56e964f53a03f0f3dd7e5 /modules | |
parent | 0ec4b7b4128a9aa22530512bb87863e5d72ee2f2 (diff) | |
download | extra-cmake-modules-6a19158806f831737e255524c047c0e44af327d2.tar.gz extra-cmake-modules-6a19158806f831737e255524c047c0e44af327d2.tar.bz2 |
use different syntax to run the target in question instead of an executable in the path
Diffstat (limited to 'modules')
-rw-r--r-- | modules/ECMAddTests.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ECMAddTests.cmake b/modules/ECMAddTests.cmake index 9052d886..6cc20b65 100644 --- a/modules/ECMAddTests.cmake +++ b/modules/ECMAddTests.cmake @@ -68,7 +68,7 @@ function(ecm_add_test) if(NOT ECM_ADD_TEST_GUI) ecm_mark_nongui_executable(${_testname}) endif() - add_test(${_testname} ${_testname}) + add_test(NAME ${_testname} COMMAND ${_testname}) target_link_libraries(${_testname} ${ECM_ADD_TEST_LINK_LIBRARIES}) ecm_mark_as_test(${_testname}) endfunction() |