CMakeLists.txt
changeset 10561 8b65886906f3
parent 10559 44095e0a0c1a
child 10606 8e95911cb86b
child 10660 79fa79c77c38
--- a/CMakeLists.txt	Wed Nov 26 13:10:09 2014 +0100
+++ b/CMakeLists.txt	Fri Nov 28 16:03:35 2014 +0100
@@ -230,7 +230,9 @@
 
 include(${CMAKE_MODULE_PATH}/cpackvars.cmake)
 
+if(NOT BUILD_ENGINE_C)
 enable_testing()
+endif(NOT BUILD_ENGINE_C)
 add_custom_target(test         COMMAND ${CMAKE_CTEST_COMMAND} -E '^todo/' --timeout 300 --schedule-random)
 add_custom_target(test_verbose COMMAND ${CMAKE_CTEST_COMMAND} -E '^todo/' --timeout 300 --schedule-random -V)