From 122ab355a6ba4c2b2d2186aaa0a37d2f5bd8aa73 Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Wed, 9 Dec 2015 00:57:00 +0100
Subject: Fix running tests on Windows etc.
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)
--
cgit v1.2.3-70-g09d2