Skip to content

Commit 648ac42

Browse files
jbichaopenKylinBot
authored andcommitted
[PATCH] Don't set rpath
google/woff2#106 Gbp-Pq: Name dont-set-rpath.patch
1 parent 2d9cc32 commit 648ac42

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

CMakeLists.txt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,6 @@ option(NOISY_LOGGING "Noisy logging" ON)
2121
# Version information
2222
set(WOFF2_VERSION 1.0.2)
2323

24-
# When building shared libraries it is important to set the correct rpath
25-
# See https://cmake.org/Wiki/CMake_RPATH_handling#Always_full_RPATH
26-
set(CMAKE_SKIP_BUILD_RPATH FALSE)
27-
set(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
28-
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
29-
list(FIND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES "${CMAKE_INSTALL_LIBDIR}" isSystemDir)
30-
if ("${isSystemDir}" STREQUAL "-1")
31-
set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_LIBDIR}")
32-
endif()
33-
3424
# Find Brotli dependencies
3525
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
3626
find_package(BrotliDec)

0 commit comments

Comments
 (0)