diff options
Diffstat (limited to 'mmc_updater/src')
-rw-r--r-- | mmc_updater/src/tests/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mmc_updater/src/tests/CMakeLists.txt b/mmc_updater/src/tests/CMakeLists.txt index 2af9b9c0..5de9d096 100644 --- a/mmc_updater/src/tests/CMakeLists.txt +++ b/mmc_updater/src/tests/CMakeLists.txt @@ -34,7 +34,7 @@ macro(ADD_UPDATER_TEST CLASS) set(TEST_TARGET updater_${CLASS}) add_executable(${TEST_TARGET} ${CLASS}.cpp) target_link_libraries(${TEST_TARGET} updatershared) - add_test(${TEST_TARGET} ${TEST_TARGET}) + add_test(NAME ${TEST_TARGET} COMMAND ${TEST_TARGET}) if (APPLE) set_target_properties(${TEST_TARGET} PROPERTIES LINK_FLAGS "-framework Security -framework Cocoa") endif() |