[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)
committerLuca Boccassi <bluca@debian.org>
Sat, 8 Mar 2025 12:29:37 +0000 (12:29 +0000)
Gbp-Pq: Name 0011-Set-CMAKE_SKIP_RPATH-to-TRUE.patch

CMakeLists.txt

index 6d564a209d5330f88b384c1a907538a1910bc1b5..d2642b02d67e5df06aaaf8cc6a2c004593724e3d 100644 (file)
@@ -117,6 +117,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)