Commit 7eb1f5b7 authored by Chuck Atkins's avatar Chuck Atkins
Browse files

Unix: Consolidate path components into prefixes

parent fb26fcb2
...@@ -41,18 +41,22 @@ if (NOT CMAKE_FIND_NO_INSTALL_PREFIX) ...@@ -41,18 +41,22 @@ if (NOT CMAKE_FIND_NO_INSTALL_PREFIX)
endif() endif()
endif() endif()
# Non "standard" but common install prefixes
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. # List common include file locations not under the common prefixes.
list(APPEND CMAKE_SYSTEM_INCLUDE_PATH list(APPEND CMAKE_SYSTEM_INCLUDE_PATH
# Windows API on Cygwin # Windows API on Cygwin
/usr/include/w32api /usr/include/w32api
# X11 # X11
/usr/X11R6/include /usr/include/X11 /usr/include/X11
# Other
/usr/pkg/include
/opt/csw/include /opt/include
/usr/openwin/include
) )
list(APPEND CMAKE_SYSTEM_LIBRARY_PATH list(APPEND CMAKE_SYSTEM_LIBRARY_PATH
...@@ -60,16 +64,7 @@ list(APPEND CMAKE_SYSTEM_LIBRARY_PATH ...@@ -60,16 +64,7 @@ list(APPEND CMAKE_SYSTEM_LIBRARY_PATH
/usr/lib/w32api /usr/lib/w32api
# X11 # X11
/usr/X11R6/lib /usr/lib/X11 /usr/lib/X11
# Other
/usr/pkg/lib
/opt/csw/lib /opt/lib
/usr/openwin/lib
)
list(APPEND CMAKE_SYSTEM_PROGRAM_PATH
/usr/pkg/bin
) )
list(APPEND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES list(APPEND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment