From: Frédéric Pierret (fepitre) Date: Tue, 24 Nov 2020 21:16:41 +0000 (+0100) Subject: [PATCH] Set CMAKE_SKIP_RPATH to TRUE X-Git-Tag: archive/raspbian/0.73.3-1+rpi1^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b3159438b4f0a1a8f04da50734869f18d321adf4;p=libdnf.git [PATCH] Set CMAKE_SKIP_RPATH to TRUE Gbp-Pq: Name 0011-Set-CMAKE_SKIP_RPATH-to-TRUE.patch --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 9685b18..f2b8cb8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -118,6 +118,8 @@ add_compile_options(-Wcast-align -Wno-uninitialized -Wredundant-decls -Wwrite-st set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu11 -Wmissing-prototypes -Waggregate-return -Wshadow -Werror=implicit-function-declaration") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wmissing-declarations") +SET(CMAKE_SKIP_RPATH TRUE) + # apple: turn rpath off set(CMAKE_MACOSX_RPATH 0)