Files
nixpkgs/pkgs/by-name/fb/fbthrift/remove-cmake-install-rpath.patch
EmilyandVladimír Čunát a1f828720c fbthrift: split outputs
(cherry picked from commit 7699884b84)
(cherry picked from commit 84dcdc352cf047a6eab869a8b4b223b5ccc7e680)
2024-11-30 15:11:26 +01:00

13 lines
475 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index c6b2b2a810..497dcd3d94 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -39,7 +39,6 @@
set(CMAKE_INSTALL_DIR lib/cmake/fbthrift CACHE STRING
"The subdirectory where CMake package config files should be installed")
-set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${LIB_INSTALL_DIR}")
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
# Add root dir so qualified includes work, e.g. #include "thrift/compiler/*.h".