diff --git a/CMakeLists.txt b/CMakeLists.txt index 63f5f6b..12843d8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,5 +30,5 @@ enable_testing () foreach (name liberty proto) add_executable (test-${name} tests/${name}.c ${common_sources}) target_link_libraries (test-${name} ${common_libraries}) - add_test (test-${name} test-${name}) + add_test (NAME test-${name} COMMAND test-${name}) endforeach (name)