summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-02-26 15:46:19 (GMT)
committerBrad King <brad.king@kitware.com>2007-02-26 15:46:19 (GMT)
commitcca4801fa714e13dba5a3b03302651149fa1ce3d (patch)
tree0152aa0b5c1919cbc1e0d7b84b1b8159acb77aec
parent334e6d6801a44ff48ee9cc7c3e1834ce66d15307 (diff)
downloadCMake-cca4801fa714e13dba5a3b03302651149fa1ce3d.zip
CMake-cca4801fa714e13dba5a3b03302651149fa1ce3d.tar.gz
CMake-cca4801fa714e13dba5a3b03302651149fa1ce3d.tar.bz2
COMP: Disable rpath with spaces on some systems.
-rw-r--r--Tests/SubDirSpaces/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/SubDirSpaces/CMakeLists.txt b/Tests/SubDirSpaces/CMakeLists.txt
index e167859..d054b64 100644
--- a/Tests/SubDirSpaces/CMakeLists.txt
+++ b/Tests/SubDirSpaces/CMakeLists.txt
@@ -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")