]> Creatis software - clitk.git/blobdiff - CMakeLists.txt
adding subdirectory for the tests
[clitk.git] / CMakeLists.txt
index a29891d347014c1b27f9be585561c90dff68996a..897fd2eea0722a5615f9e2b0835793d7f6c479b1 100644 (file)
@@ -16,7 +16,9 @@ INCLUDE(cmake/common.cmake)
 #Support for the CTest dashboard testing system
 OPTION(BUILD_TESTING "Build the testing tree" OFF)
 IF (BUILD_TESTING)
+  OPTION(CLITK_BUILD_TESTING "Test ITK" ON)
   INCLUDE(CTest)
+  ADD_SUBDIRECTORY(tests)
 ENDIF(BUILD_TESTING)
 #=========================================================