openscad/patches/OpenCSG-1.4.0-MacOSX-port.p...

32 lines
748 B
Diff

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 \