Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CMake
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CMake
CMake
Commits
7eb1f5b7
Commit
7eb1f5b7
authored
8 years ago
by
Chuck Atkins
Browse files
Options
Downloads
Patches
Plain Diff
Unix: Consolidate path components into prefixes
parent
fb26fcb2
No related branches found
No related tags found
1 merge request
!589
Move platform specific paths
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Modules/Platform/UnixPaths.cmake
+11
-16
11 additions, 16 deletions
Modules/Platform/UnixPaths.cmake
with
11 additions
and
16 deletions
Modules/Platform/UnixPaths.cmake
+
11
−
16
View file @
7eb1f5b7
...
...
@@ -41,18 +41,22 @@ if (NOT CMAKE_FIND_NO_INSTALL_PREFIX)
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
(
APPEND CMAKE_SYSTEM_INCLUDE_PATH
# Windows API on Cygwin
/usr/include/w32api
# X11
/usr/X11R6/include /usr/include/X11
# Other
/usr/pkg/include
/opt/csw/include /opt/include
/usr/openwin/include
/usr/include/X11
)
list
(
APPEND CMAKE_SYSTEM_LIBRARY_PATH
...
...
@@ -60,16 +64,7 @@ list(APPEND CMAKE_SYSTEM_LIBRARY_PATH
/usr/lib/w32api
# X11
/usr/X11R6/lib /usr/lib/X11
# Other
/usr/pkg/lib
/opt/csw/lib /opt/lib
/usr/openwin/lib
)
list
(
APPEND CMAKE_SYSTEM_PROGRAM_PATH
/usr/pkg/bin
/usr/lib/X11
)
list
(
APPEND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES
...
...
This diff is collapsed.
Click to expand it.
Brad King
@brad.king
mentioned in commit
09f85c98
·
8 years ago
mentioned in commit
09f85c98
mentioned in commit 09f85c98c0f52a8f58cde0ffc3949316e4c874a2
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment