summaryrefslogtreecommitdiffstats
path: root/Tests/SubDirSpaces
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2014-04-11 16:27:01 (GMT)
committerRolf Eike Beer <eike@sf-mail.de>2014-04-14 16:17:18 (GMT)
commit3a71d34cf3a10ee215ae3899acafd29551ba6e7e (patch)
tree93742fd3f43657dedf1d5420d3bb72e525a79ff5 /Tests/SubDirSpaces
parentb0b4b4602fd5f8508d6fcbb9ea3236585e6368e2 (diff)
downloadCMake-3a71d34cf3a10ee215ae3899acafd29551ba6e7e.zip
CMake-3a71d34cf3a10ee215ae3899acafd29551ba6e7e.tar.gz
CMake-3a71d34cf3a10ee215ae3899acafd29551ba6e7e.tar.bz2
Use CMAKE_SYSTEM_NAME instead of CMAKE_SYSTEM where sufficient
Diffstat (limited to 'Tests/SubDirSpaces')
-rw-r--r--Tests/SubDirSpaces/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/SubDirSpaces/CMakeLists.txt b/Tests/SubDirSpaces/CMakeLists.txt
index 69f1d68..40c265e 100644
--- a/Tests/SubDirSpaces/CMakeLists.txt
+++ b/Tests/SubDirSpaces/CMakeLists.txt
@@ -2,7 +2,7 @@ cmake_minimum_required (VERSION 2.6)
project(SUBDIR)
# Some systems do not seem to support rpath with spaces.
-if("${CMAKE_SYSTEM}" MATCHES "IRIX|QNX")
+if(CMAKE_SYSTEM_NAME MATCHES "IRIX|QNX")
set(CMAKE_SKIP_BUILD_RPATH 1)
endif()