[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>
Sun, 8 Jan 2023 09:08:51 +0000 (09:08 +0000)
Gbp-Pq: Name 0011-Set-CMAKE_SKIP_RPATH-to-TRUE.patch

CMakeLists.txt

index 68af27ecdfae8cd313b684dbf38cd1beb1567289..a0a1621ea582d6b7ab9871dc3b39df77a16f1bd9 100644 (file)
@@ -119,6 +119,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)