Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
bctoolbox
Commits
1bbca651
Commit
1bbca651
authored
Feb 18, 2016
by
jehan
Browse files
change CMAKE_INSTALL_RPATH to CMAKE_INSTALL_FULL_LIBDIR if not set
parent
1abbc27d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
CMakeLists.txt
CMakeLists.txt
+1
-1
No files found.
CMakeLists.txt
View file @
1bbca651
...
...
@@ -48,7 +48,7 @@ include(GNUInstallDirs)
list
(
APPEND CMAKE_MODULE_PATH
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/cmake"
)
if
(
NOT CMAKE_INSTALL_RPATH AND CMAKE_INSTALL_PREFIX
)
set
(
CMAKE_INSTALL_RPATH
${
CMAKE_INSTALL_
PREFIX
}
)
set
(
CMAKE_INSTALL_RPATH
${
CMAKE_INSTALL_
FULL_LIBDIR
}
)
message
(
"Setting install rpath to
${
CMAKE_INSTALL_RPATH
}
"
)
endif
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment