summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/SunOS.cmake
diff options
context:
space:
mode:
authorChuck Atkins <chuck.atkins@kitware.com>2017-03-16 10:00:19 (GMT)
committerChuck Atkins <chuck.atkins@kitware.com>2017-03-16 10:00:49 (GMT)
commit2a8c2af4d4ca1ec653c87c11a3f79a241b6b27e7 (patch)
tree30744a8775da4a37a846e129b370e362bb853c42 /Modules/Platform/SunOS.cmake
parent7eb1f5b7aca1500e68a8be7ba158ed616a8595df (diff)
downloadCMake-2a8c2af4d4ca1ec653c87c11a3f79a241b6b27e7.zip
CMake-2a8c2af4d4ca1ec653c87c11a3f79a241b6b27e7.tar.gz
CMake-2a8c2af4d4ca1ec653c87c11a3f79a241b6b27e7.tar.bz2
SunOS: Move solaris-specific paths to the solaris platform
Diffstat (limited to 'Modules/Platform/SunOS.cmake')
-rw-r--r--Modules/Platform/SunOS.cmake5
1 files changed, 5 insertions, 0 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)