From cca4801fa714e13dba5a3b03302651149fa1ce3d Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 26 Feb 2007 10:46:19 -0500 Subject: [PATCH] COMP: Disable rpath with spaces on some systems. --- Tests/SubDirSpaces/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Tests/SubDirSpaces/CMakeLists.txt b/Tests/SubDirSpaces/CMakeLists.txt index e16785933..d054b6462 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")