File: OpenCSG-1.4.0-MacOSX-port.patch

package info (click to toggle)
openscad 2021.01-8
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 36,012 kB
  • sloc: cpp: 53,199; sh: 4,384; ansic: 4,382; python: 1,813; yacc: 853; javascript: 762; lex: 417; lisp: 163; xml: 127; makefile: 118
file content (31 lines) | stat: -rw-r--r-- 748 bytes parent folder | download | duplicates (6)
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
diff --git a/opencsg.pro b/opencsg.pro
index b56e622..5cf2d6d 100644
--- a/opencsg.pro
+++ b/opencsg.pro
@@ -1,2 +1,2 @@
 TEMPLATE = subdirs
-SUBDIRS  = src example
+SUBDIRS  = src
diff --git a/src/src.pro b/src/src.pro
index 9091251..598112a 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -3,15 +3,14 @@ TARGET = opencsg
 VERSION = 1.4.0
 
 CONFIG += opengl warn_on release
+CONFIG += absolute_library_soname
 INCLUDEPATH += ../include ../
 CONFIG -= qt
 LIBS += -lGLEW
 
-DESTDIR = ../lib
-INSTALLDIR = /usr/local
 headers.files = ../include/opencsg.h
-headers.path = $$INSTALLDIR/include
-target.path = /usr/local/lib
+headers.path = $$DESTDIR/include
+target.path = $$DESTDIR/lib
 INSTALLS += target headers
 
 HEADERS		= ../include/opencsg.h \