summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Darwin.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-01-16 14:51:57 (GMT)
committerBrad King <brad.king@kitware.com>2008-01-16 14:51:57 (GMT)
commit2a782880645ad366e724fa0d1657ab233bfe6676 (patch)
tree444791872299ba8ef88e74357817366d2569d787 /Modules/Platform/Darwin.cmake
parent34c04bbc245381b83941a2126296ef0973e0642c (diff)
downloadCMake-2a782880645ad366e724fa0d1657ab233bfe6676.zip
CMake-2a782880645ad366e724fa0d1657ab233bfe6676.tar.gz
CMake-2a782880645ad366e724fa0d1657ab233bfe6676.tar.bz2
ENH: Convert Modules/Platform specification of system search paths to use CMAKE_SYSTEM_PREFIX_PATH when possible.
Diffstat (limited to 'Modules/Platform/Darwin.cmake')
-rw-r--r--Modules/Platform/Darwin.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/Platform/Darwin.cmake b/Modules/Platform/Darwin.cmake
index 7ba6c56..4641269 100644
--- a/Modules/Platform/Darwin.cmake
+++ b/Modules/Platform/Darwin.cmake
@@ -149,5 +149,4 @@ SET(CMAKE_SYSTEM_APPBUNDLE_PATH
/Developer/Applications)
INCLUDE(Platform/UnixPaths)
-SET(CMAKE_SYSTEM_INCLUDE_PATH ${CMAKE_SYSTEM_INCLUDE_PATH} /sw/include)
-SET(CMAKE_SYSTEM_LIBRARY_PATH ${CMAKE_SYSTEM_LIBRARY_PATH} /sw/lib)
+LIST(APPEND CMAKE_SYSTEM_PREFIX_PATH /sw)