From: malaterre Date: Tue, 4 May 2004 21:09:24 +0000 (+0000) Subject: reintroduce testing X-Git-Tag: Version0.5.bp~190 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=c5618e6b8276e1b21bbea354fe8bcba3c78eb4bd;p=gdcm.git reintroduce testing --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 38495bcf..67f483b2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -62,6 +62,8 @@ INSTALL_FILES(/include .h gdcmConfigure.h) #----------------------------------------------------------------------------- # Add the testing directories +OPTION(BUILD_TESTING "Build testing." ON) + IF(BUILD_TESTING) ENABLE_TESTING() INCLUDE (${CMAKE_ROOT}/Modules/Dart.cmake)