Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
Root
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Admin message
为了安全,强烈建议开启2FA双因子认证:User Settings -> Account -> Enable two-factor authentication!!!
Show more breadcrumbs
cxwx
Root
Commits
080de503
Commit
080de503
authored
8 years ago
by
Pere Mato Vila
Browse files
Options
Downloads
Patches
Plain Diff
Correct the RPATH for fix location installations (gnuinstall)
parent
bbbcefc8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmake/modules/RootBuildOptions.cmake
+1
-1
1 addition, 1 deletion
cmake/modules/RootBuildOptions.cmake
with
1 addition
and
1 deletion
cmake/modules/RootBuildOptions.cmake
+
1
−
1
View file @
080de503
...
@@ -258,7 +258,7 @@ set(CMAKE_MACOSX_RPATH TRUE) # use RPATH for MacOSX
...
@@ -258,7 +258,7 @@ set(CMAKE_MACOSX_RPATH TRUE) # use RPATH for MacOSX
set
(
CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE
)
# point to directories outside the build tree to the install RPATH
set
(
CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE
)
# point to directories outside the build tree to the install RPATH
# Check whether to add RPATH to the installation (the build tree always has the RPATH enabled)
# Check whether to add RPATH to the installation (the build tree always has the RPATH enabled)
if
(
rpath
)
if
(
rpath
OR gnuinstall
)
set
(
CMAKE_INSTALL_RPATH
${
CMAKE_INSTALL_FULL_LIBDIR
}
)
# install LIBDIR
set
(
CMAKE_INSTALL_RPATH
${
CMAKE_INSTALL_FULL_LIBDIR
}
)
# install LIBDIR
set
(
CMAKE_SKIP_INSTALL_RPATH FALSE
)
# don't skip the full RPATH for the install tree
set
(
CMAKE_SKIP_INSTALL_RPATH FALSE
)
# don't skip the full RPATH for the install tree
elseif
(
APPLE
)
elseif
(
APPLE
)
...
...
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