summaryrefslogtreecommitdiff
path: root/Modules/Platform/UnixPaths.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-08-31 14:16:59 -0400
committerBrad King <brad.king@kitware.com>2010-09-01 08:50:51 -0400
commiteae45a67e7901b9b5531a4cd49e9716e8edb3956 (patch)
tree953f1c998c22a44f0605cca3ad16794c54514490 /Modules/Platform/UnixPaths.cmake
parent81a76fedd7abdbc8ce840ff7c8ecc7a8c68e26bf (diff)
downloadcmake-eae45a67e7901b9b5531a4cd49e9716e8edb3956.tar.gz
Search MacPorts /opt/local prefix on Mac
Include this prefix in CMAKE_SYSTEM_PREFIX_PATH so that it will be used for all find* commands. Previously only find_library and find_path would look under /opt/local/lib and /opt/local/include, respectively.
Diffstat (limited to 'Modules/Platform/UnixPaths.cmake')
-rw-r--r--Modules/Platform/UnixPaths.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/Platform/UnixPaths.cmake b/Modules/Platform/UnixPaths.cmake
index ae3c187f23..5ee7ddbd67 100644
--- a/Modules/Platform/UnixPaths.cmake
+++ b/Modules/Platform/UnixPaths.cmake
@@ -51,7 +51,7 @@ LIST(APPEND CMAKE_SYSTEM_INCLUDE_PATH
/usr/X11R6/include /usr/include/X11
# Other
- /opt/local/include /usr/pkg/include
+ /usr/pkg/include
/opt/csw/include /opt/include
/usr/openwin/include
)
@@ -64,7 +64,7 @@ LIST(APPEND CMAKE_SYSTEM_LIBRARY_PATH
/usr/X11R6/lib /usr/lib/X11
# Other
- /opt/local/lib /usr/pkg/lib
+ /usr/pkg/lib
/opt/csw/lib /opt/lib
/usr/openwin/lib
)