SunOS: Move solaris-specific paths to the solaris platform

This commit is contained in:
Chuck Atkins
2017-03-16 06:00:19 -04:00
parent 7eb1f5b7ac
commit 2a8c2af4d4
2 changed files with 5 additions and 2 deletions

View File

@@ -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)

View File

@@ -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.