[PATCH] Set CMAKE_SKIP_RPATH to TRUE
authorFrédéric Pierret (fepitre) <frederic.pierret@qubes-os.org>
Tue, 24 Nov 2020 21:16:41 +0000 (22:16 +0100)
committerFrédéric Pierret <frederic.pierret@qubes-os.org>
Wed, 14 Apr 2021 19:26:57 +0000 (20:26 +0100)
Gbp-Pq: Name 0011-Set-CMAKE_SKIP_RPATH-to-TRUE.patch

CMakeLists.txt

index 00ab52f7887d8eda973080766828dfc22c61b902..b3fc5cda1bc86a19fbee2907f15a2e2dceb00782 100644 (file)
@@ -115,6 +115,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)