Files
nixpkgs/pkgs/development/libraries/physfs/dont-set-cmake-skip-rpath-3.2.0.patch
2024-10-03 14:32:54 +02:00

14 lines
384 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index b3291cc..11e7ad1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -32,8 +32,6 @@ endif()
if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall)
- # Don't use -rpath.
- set(CMAKE_SKIP_RPATH ON CACHE BOOL "Skip RPATH" FORCE)
endif()
if(CMAKE_C_COMPILER_ID STREQUAL "SunPro")