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
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Oleg Sidorkin
CMake
Commits
c352d16a
Commit
c352d16a
authored
3 years ago
by
Brad King
Browse files
Options
Downloads
Plain Diff
Merge branch 'revert-debian-libexec' into release-3.19
Merge-request: !6607
parents
93b25f0b
6658e260
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Modules/GNUInstallDirs.cmake
+2
-13
2 additions, 13 deletions
Modules/GNUInstallDirs.cmake
Tests/RunCMake/GNUInstallDirs/Usr-Debian-stderr.txt
+2
-2
2 additions, 2 deletions
Tests/RunCMake/GNUInstallDirs/Usr-Debian-stderr.txt
with
4 additions
and
15 deletions
Modules/GNUInstallDirs.cmake
+
2
−
13
View file @
c352d16a
...
...
@@ -167,6 +167,8 @@ _GNUInstallDirs_cache_path(CMAKE_INSTALL_BINDIR "bin"
"User executables (bin)"
)
_GNUInstallDirs_cache_path
(
CMAKE_INSTALL_SBINDIR
"sbin"
"System admin executables (sbin)"
)
_GNUInstallDirs_cache_path
(
CMAKE_INSTALL_LIBEXECDIR
"libexec"
"Program executables (libexec)"
)
_GNUInstallDirs_cache_path
(
CMAKE_INSTALL_SYSCONFDIR
"etc"
"Read-only single-machine data (etc)"
)
_GNUInstallDirs_cache_path
(
CMAKE_INSTALL_SHAREDSTATEDIR
"com"
...
...
@@ -260,19 +262,6 @@ set(_GNUInstallDirs_LAST_CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}" CACHE IN
unset
(
_libdir_set
)
unset
(
__LAST_LIBDIR_DEFAULT
)
if
(
CMAKE_SYSTEM_NAME MATCHES
"^(Linux|kFreeBSD|GNU)$"
AND NOT CMAKE_CROSSCOMPILING
AND NOT EXISTS
"/etc/arch-release"
AND EXISTS
"/etc/debian_version"
# is this a debian system ?
AND
"
${
CMAKE_INSTALL_PREFIX
}
"
MATCHES
"^/usr/?$"
)
# see https://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.html#usrlibexec
# and https://www.debian.org/doc/debian-policy/ch-opersys#file-system-structure (section 9.1.1 bullet point 4)
_GNUInstallDirs_cache_path
(
CMAKE_INSTALL_LIBEXECDIR
"
${
CMAKE_INSTALL_LIBDIR
}
"
"Program executables (
${
CMAKE_INSTALL_LIBDIR
}
)"
)
else
()
_GNUInstallDirs_cache_path
(
CMAKE_INSTALL_LIBEXECDIR
"libexec"
"Program executables (libexec)"
)
endif
()
_GNUInstallDirs_cache_path
(
CMAKE_INSTALL_INCLUDEDIR
"include"
"C header files (include)"
)
_GNUInstallDirs_cache_path
(
CMAKE_INSTALL_OLDINCLUDEDIR
"/usr/include"
...
...
This diff is collapsed.
Click to expand it.
Tests/RunCMake/GNUInstallDirs/Usr-Debian-stderr.txt
+
2
−
2
View file @
c352d16a
...
...
@@ -5,7 +5,7 @@ CMAKE_INSTALL_DOCDIR='share/doc/Usr'
CMAKE_INSTALL_INCLUDEDIR='include'
CMAKE_INSTALL_INFODIR='share/info'
CMAKE_INSTALL_LIBDIR='lib/arch'
CMAKE_INSTALL_LIBEXECDIR='lib
/arch
'
CMAKE_INSTALL_LIBEXECDIR='lib
exec
'
CMAKE_INSTALL_LOCALEDIR='share/locale'
CMAKE_INSTALL_LOCALSTATEDIR='var'
CMAKE_INSTALL_RUNSTATEDIR='var/run'
...
...
@@ -20,7 +20,7 @@ CMAKE_INSTALL_FULL_DOCDIR='/usr/share/doc/Usr'
CMAKE_INSTALL_FULL_INCLUDEDIR='/usr/include'
CMAKE_INSTALL_FULL_INFODIR='/usr/share/info'
CMAKE_INSTALL_FULL_LIBDIR='/usr/lib/arch'
CMAKE_INSTALL_FULL_LIBEXECDIR='/usr/lib
/arch
'
CMAKE_INSTALL_FULL_LIBEXECDIR='/usr/lib
exec
'
CMAKE_INSTALL_FULL_LOCALEDIR='/usr/share/locale'
CMAKE_INSTALL_FULL_LOCALSTATEDIR='/var'
CMAKE_INSTALL_FULL_RUNSTATEDIR='/var/run'
...
...
This diff is collapsed.
Click to expand it.
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