diff options
-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. |