[cmake-commits] king committed CMakeLists.txt 1.142 1.143

cmake-commits at cmake.org cmake-commits at cmake.org
Sun Mar 2 14:35:15 EST 2008


Update of /cvsroot/CMake/CMake
In directory public:/mounts/ram/cvs-serv4616

Modified Files:
	CMakeLists.txt 
Log Message:
ENH: Simplify tests for building CMake itself with rpath support now that 2.4 is required to build.


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/CMakeLists.txt,v
retrieving revision 1.142
retrieving revision 1.143
diff -u -d -r1.142 -r1.143
--- CMakeLists.txt	1 Mar 2008 20:20:34 -0000	1.142
+++ CMakeLists.txt	2 Mar 2008 19:35:13 -0000	1.143
@@ -436,16 +436,15 @@
 # since this one has much better RPATH features than cmake 2.2.
 # The executables are then built with the RPATH for the libraries outside
 # the build tree, which is both the build and the install RPATH.
-IF (UNIX  AND  "${CMAKE_MAJOR_VERSION}${CMAKE_MINOR_VERSION}" GREATER 23)
+IF (UNIX)
   IF(   CMAKE_USE_SYSTEM_CURL   OR  CMAKE_USE_SYSTEM_ZLIB
         OR  CMAKE_USE_SYSTEM_EXPAT  OR  CMAKE_USE_SYSTEM_XMLRPC  OR  CURSES_NEED_RPATH  OR  QT_NEED_RPATH)
     SET(CMAKE_SKIP_RPATH OFF CACHE INTERNAL "CMake built with RPATH.")
     SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
     SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
-    MESSAGE(STATUS "Enabling RPATH")
   ENDIF(CMAKE_USE_SYSTEM_CURL   OR  CMAKE_USE_SYSTEM_ZLIB
         OR  CMAKE_USE_SYSTEM_EXPAT  OR  CMAKE_USE_SYSTEM_XMLRPC  OR  CURSES_NEED_RPATH  OR  QT_NEED_RPATH)
-ENDIF (UNIX  AND  "${CMAKE_MAJOR_VERSION}${CMAKE_MINOR_VERSION}" GREATER 23)
+ENDIF (UNIX)
 
 
 # should we build the MFC dialog? (a macro defined in this file)



More information about the Cmake-commits mailing list