tests/CMakeLists.txt

Christian Mollekopf mollekopf at kolabsys.com
Wed Feb 20 20:40:22 CET 2013


 tests/CMakeLists.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b438eba3cf55f4f25a9a33e67d9f51de2402f54d
Author: Christian Mollekopf <mollekopf at kolabsys.com>
Date:   Wed Feb 20 20:39:57 2013 +0100

    The other add_test syntax is not available in cmake 2.6.

diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index acb2a18..94c1142 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -10,7 +10,7 @@ if (NOT APPLE)
 endif()
 
 if(PHP_BINDINGS)
-    add_test(NAME phptest COMMAND php -d enable_dl=On -d include_path='.:/usr/share/pear:${CMAKE_BINARY_DIR}/src/php' -d extension=${CMAKE_BINARY_DIR}/src/php/kolabformat.so ${CMAKE_SOURCE_DIR}/src/php/test.php --verbose)
+    add_test(phptest php -d enable_dl=On -d include_path='.:/usr/share/pear:${CMAKE_BINARY_DIR}/src/php' -d extension=${CMAKE_BINARY_DIR}/src/php/kolabformat.so ${CMAKE_SOURCE_DIR}/src/php/test.php --verbose)
 endif()
 
 if (QT4_FOUND)





More information about the commits mailing list