diff options
author | Chuck Atkins <chuck.atkins@kitware.com> | 2017-03-16 10:00:19 (GMT) |
---|---|---|
committer | Chuck Atkins <chuck.atkins@kitware.com> | 2017-03-16 10:00:49 (GMT) |
commit | 2a8c2af4d4ca1ec653c87c11a3f79a241b6b27e7 (patch) | |
tree | 30744a8775da4a37a846e129b370e362bb853c42 /Modules/Platform | |
parent | 7eb1f5b7aca1500e68a8be7ba158ed616a8595df (diff) | |
download | CMake-2a8c2af4d4ca1ec653c87c11a3f79a241b6b27e7.zip CMake-2a8c2af4d4ca1ec653c87c11a3f79a241b6b27e7.tar.gz CMake-2a8c2af4d4ca1ec653c87c11a3f79a241b6b27e7.tar.bz2 |
SunOS: Move solaris-specific paths to the solaris platform
Diffstat (limited to 'Modules/Platform')
-rw-r--r-- | Modules/Platform/SunOS.cmake | 5 | ||||
-rw-r--r-- | Modules/Platform/UnixPaths.cmake | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/Modules/Platform/SunOS.cmake b/Modules/Platform/SunOS.cmake index 58398c0..e19e89a 100644 --- a/Modules/Platform/SunOS.cmake +++ b/Modules/Platform/SunOS.cmake @@ -9,6 +9,11 @@ endif() include(Platform/UnixPaths) +list(APPEND CMAKE_SYSTEM_PREFIX_PATH + /opt/csw + /opt/openwin + ) + # The Sun linker needs to find transitive shared library dependencies # in the -L path. set(CMAKE_LINK_DEPENDENT_LIBRARY_DIRS 1) diff --git a/Modules/Platform/UnixPaths.cmake b/Modules/Platform/UnixPaths.cmake index 11b28f8..48bbd40 100644 --- a/Modules/Platform/UnixPaths.cmake +++ b/Modules/Platform/UnixPaths.cmake @@ -45,9 +45,7 @@ endif() list(APPEND CMAKE_SYSTEM_PREFIX_PATH /usr/X11R6 /usr/pkg - /opt/csw /opt - /opt/openwin ) # List common include file locations not under the common prefixes. |