aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJeremy Bicha <jbicha@ubuntu.com>2017-12-07 14:39:07 -0500
committerEugene Kliuchnikov <eustas@google.com>2017-12-07 20:39:07 +0100
commit63e15bb3a6b972141bbff3440b90722ce23935c2 (patch)
tree79a85b385206b02977047bb2f3877a25038b2424 /CMakeLists.txt
parent62194f204d90a5a95310a6949f00a0c6c5ca07bd (diff)
downloadbrotli-63e15bb3a6b972141bbff3440b90722ce23935c2.zip
brotli-63e15bb3a6b972141bbff3440b90722ce23935c2.tar.gz
brotli-63e15bb3a6b972141bbff3440b90722ce23935c2.tar.bz2
Don't set rpath (#629)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt10
1 files changed, 0 insertions, 10 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ac55f6b..2dc7232 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -24,16 +24,6 @@ mark_as_advanced(BROTLI_BUNDLED_MODE)
include(GNUInstallDirs)
-# When building shared libraries it is important to set the correct rpath.
-# See https://cmake.org/Wiki/CMake_RPATH_handling#Always_full_RPATH
-set(CMAKE_SKIP_BUILD_RPATH FALSE)
-set(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
-set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
-list(FIND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES "${CMAKE_INSTALL_LIBDIR}" isSystemDir)
-if ("${isSystemDir}" STREQUAL "-1")
- set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_LIBDIR}")
-endif()
-
# Parse version information from common/version.h. Normally we would
# define these values here and write them out to configuration file(s)
# (i.e., config.h), but in this case we parse them from