]> Creatis software - clitk.git/commitdiff
adding subdirectory for the tests
authorMaxime <mpech@russule.clb.loc>
Tue, 10 May 2011 08:43:26 +0000 (10:43 +0200)
committerMaxime <mpech@russule.clb.loc>
Tue, 10 May 2011 08:43:26 +0000 (10:43 +0200)
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)
 #=========================================================