]> Creatis software - bbtk.git/commitdiff
cmake_policy doesn't work with cmake2.4.
authorjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Tue, 3 Jun 2008 07:24:40 +0000 (07:24 +0000)
committerjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Tue, 3 Jun 2008 07:24:40 +0000 (07:24 +0000)
Temporarily commented out

CMakeLists.txt

index 82dcc677a98254c0b1beb9fc102c31697d397c8b..269e8e91d77696706790d435a8c5c6f0c0d6f547 100644 (file)
@@ -1,8 +1,10 @@
 #cmake_minimum_required(VERSION 2.4)
 #if(COMMAND cmake_policy)
-  cmake_policy(SET CMP0000 OLD)
-      cmake_policy(SET CMP0005 NEW)
- cmake_policy(SET CMP0003 NEW)
+  # UNCOMMENT the 3 lines 'cmake_policy(...
+  # If you'er using cmake 2.6
+  #cmake_policy(SET CMP0000 OLD)
+  #cmake_policy(SET CMP0005 NEW)
+  #cmake_policy(SET CMP0003 NEW)
  #   endif(COMMAND cmake_policy)
 
 #-----------------------------------------------------------------------------