certi-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[certi-cvs] certi CMakeLists.txt


From: CERTI CVS commits
Subject: [certi-cvs] certi CMakeLists.txt
Date: Wed, 02 Oct 2013 12:50:04 +0000

CVSROOT:        /sources/certi
Module name:    certi
Changes by:     Eric NOULARD <erk>      13/10/02 12:50:04

Modified files:
        .              : CMakeLists.txt 

Log message:
        Avoid requiring cmake 2.8.0 on Linux since default CentOS 5/6 version
        of CMake is 2.6.4 and we currently only "really" require 2.8.x on 
Windows

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/CMakeLists.txt?cvsroot=certi&r1=1.126&r2=1.127

Patches:
Index: CMakeLists.txt
===================================================================
RCS file: /sources/certi/certi/CMakeLists.txt,v
retrieving revision 1.126
retrieving revision 1.127
diff -u -b -r1.126 -r1.127
--- CMakeLists.txt      27 Sep 2013 08:38:47 -0000      1.126
+++ CMakeLists.txt      2 Oct 2013 12:50:04 -0000       1.127
@@ -1,6 +1,11 @@
-PROJECT(CERTI CXX)
+if (WIN32)
+    cmake_minimum_required(VERSION 2.8.0)
+else()
+    cmake_minimum_required(VERSION 2.6.4)
+endif()
+
+project(CERTI CXX)
 
-cmake_minimum_required(VERSION 2.8.0)
 INCLUDE(${CMAKE_ROOT}/Modules/Dart.cmake)
 MARK_AS_ADVANCED(TCL_TCLSH DART_ROOT)
 # New Policy for full path library search



reply via email to

[Prev in Thread] Current Thread [Next in Thread]