projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(Try to) fix RPATH issues
[quassel.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
288f7ab
..
6f24251
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-38,6
+38,10
@@
if(STATIC)
set(CMAKE_BUILD_TYPE Release)
endif(STATIC)
set(CMAKE_BUILD_TYPE Release)
endif(STATIC)
+# RPATH needs to be set correctly
+set(CMAKE_INSTALL_RPATH_USE_LINK_PATH 1)
+set(CMAKE_BUILD_WITH_INSTALL_RPATH 1)
+
# Enable various flags on gcc
if(CMAKE_COMPILER_IS_GNUCXX)
include(CheckCXXCompilerFlag)
# Enable various flags on gcc
if(CMAKE_COMPILER_IS_GNUCXX)
include(CheckCXXCompilerFlag)