]> Creatis software - crea.git/commitdiff
add of ctest line
authorJuan Prieto <Juan.Prieto@creatis.insa-lyon.fr>
Wed, 25 Aug 2010 14:04:23 +0000 (14:04 +0000)
committerJuan Prieto <Juan.Prieto@creatis.insa-lyon.fr>
Wed, 25 Aug 2010 14:04:23 +0000 (14:04 +0000)
cmake/CREAMacro_FindAndUseLibraries.cmake

index 630e9db0adcd9dfb264fdb105965195be25f5884..e3888b145d484bfc41b59c585d90bd1fcf4d8f61 100644 (file)
@@ -2,6 +2,10 @@
 
 MACRO(CREA_FIND_AND_USE_LIBRARIES)
 #MESSAGE(ERROR "EED CREAMacrp_FindAndUseLibraries")
+IF(INCLUDE_CTEST)
+       include(CTEST)
+ENDIF(INCLUDE_CTEST)
+
 set(USE_DEBUG_LIB "" CACHE BOOL "Use Debug Libraries" )
 
 #-----------------------------------------------------------------------------