[cmake-commits] king committed CMakeLists.txt 1.5 1.6

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Feb 26 10:46:21 EST 2007


Update of /cvsroot/CMake/CMake/Tests/SubDirSpaces
In directory public:/mounts/ram/cvs-serv31711

Modified Files:
	CMakeLists.txt 
Log Message:
COMP: Disable rpath with spaces on some systems.


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/SubDirSpaces/CMakeLists.txt,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- CMakeLists.txt	22 Feb 2007 22:15:13 -0000	1.5
+++ CMakeLists.txt	26 Feb 2007 15:46:19 -0000	1.6
@@ -1,4 +1,10 @@
 PROJECT(SUBDIR)
+
+# Some systems do not seem to support rpath with spaces.
+IF("${CMAKE_SYSTEM}" MATCHES "IRIX|QNX")
+  SET(CMAKE_SKIP_BUILD_RPATH 1)
+ENDIF("${CMAKE_SYSTEM}" MATCHES "IRIX|QNX")
+
 # be able to see output from make on dashboards
 SET(CMAKE_VERBOSE_MAKEFILE 1)
 SUBDIRS("Executable Sources" "Some(x86) Sources" EXCLUDE_FROM_ALL "Some Examples")



More information about the Cmake-commits mailing list