]> Creatis software - gdcm.git/blobdiff - CMakeLists.txt
reintroduce testing
[gdcm.git] / CMakeLists.txt
index 38495bcf767a7ae0620c5aa4b91d4757d8010580..67f483b2dedeb0e5e74d947cbd87050882ceb5b0 100644 (file)
@@ -62,6 +62,8 @@ INSTALL_FILES(/include .h gdcmConfigure.h)
 \r
 #-----------------------------------------------------------------------------\r
 # Add the testing directories\r
+OPTION(BUILD_TESTING "Build testing." ON)\r
+\r
 IF(BUILD_TESTING)\r
   ENABLE_TESTING()\r
   INCLUDE (${CMAKE_ROOT}/Modules/Dart.cmake)\r