File: no-rpaths.patch

package info (click to toggle)
geogram 1.9.6-1
  • links: PTS, VCS
  • area: contrib
  • in suites: sid
  • size: 15,436 kB
  • sloc: cpp: 143,890; ansic: 10,098; perl: 1,430; sh: 1,199; yacc: 522; lex: 182; python: 157; javascript: 149; makefile: 17
file content (22 lines) | stat: -rw-r--r-- 757 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Index: geogram/CMakeLists.txt
===================================================================
--- geogram.orig/CMakeLists.txt
+++ geogram/CMakeLists.txt
@@ -95,17 +95,6 @@ if(GEOGRAM_WITH_VORPALINE)
 ##  set(VORPALINE_SVN_REVISION ${Vorpaline_WC_REVISION})
 endif()
 
-##############################################################################
-# RPATH (where executables find the .so / DLLs)
-# - Enables RPATH support for MACOSX
-# - Makes RPATH of dynamic libraries and executable point to the directory
-#   where libraries are installed.
-
-if(VORPALINE_BUILD_DYNAMIC)
-set(CMAKE_MACOSX_RPATH 1)
-set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
-endif()
-
 set(CMAKE_INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib")
 
 # uninstall target