File: 0001-Do-not-mess-with-RUNPATH.patch

package info (click to toggle)
laszip 3.5.0%2Breally3.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,252 kB
  • sloc: cpp: 29,589; ansic: 1,625; sh: 198; makefile: 127; python: 23
file content (33 lines) | stat: -rw-r--r-- 1,240 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From: =?utf-8?q?Timo_R=C3=B6hling?= <roehling@debian.org>
Date: Wed, 8 Nov 2023 20:06:16 +0100
Subject: Do not mess with RUNPATH

Forwarded: not-needed
---
 CMakeLists.txt | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 12db977..6e1de19 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -89,19 +89,6 @@ set(LASZIP_PLUGIN_INSTALL_PATH "${CMAKE_INSTALL_PREFIX}/${LASZIP_LIB_INSTALL_DIR
 file(MAKE_DIRECTORY "${LASZIP_OUTPUT_LIB_DIR}")
 file(MAKE_DIRECTORY "${LASZIP_OUTPUT_BIN_DIR}")
 
-# per http://www.cmake.org/Wiki/CMake_RPATH_handling
-SET(CMAKE_SKIP_BUILD_RPATH FALSE)
-SET(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
-SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
-IF (APPLE)
-    SET(MACOSX_RPATH ON)
-endif()
-LIST(FIND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES
-    "${CMAKE_INSTALL_PREFIX}/${LASZIP_LIB_INSTALL_DIR}" isSystemDir)
-IF("${isSystemDir}" STREQUAL "-1")
-    SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${LASZIP_LIB_INSTALL_DIR}")
-ENDIF("${isSystemDir}" STREQUAL "-1")
-
 # wipe lib/ drectory on clean. It will have plugins that could be out of date
 # in the next build
 set_directory_properties(PROPERTY ADDITIONAL_MAKE_CLEAN_FILES "${LASZIP_OUTPUT_LIB_DIR}/*")