summarylogtreecommitdiffstats
path: root/3ds.patch
blob: 475c9c8e16eaf11c4e1068b8ef17e4455b2c40f7 (plain)
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
--- ../meshlab/src/meshlabplugins/io_3ds/io_3ds.pro	2016-10-31 00:00:28.662690502 +0100
+++ meshlab/src/meshlabplugins/io_3ds/io_3ds.pro	2016-11-01 00:28:59.485188734 +0100
@@ -14,7 +14,7 @@
 
 TARGET        = io_3ds
 
-INCLUDEPATH += ../../external/lib3ds-1.3.0/
+INCLUDEPATH += /usr/include/lib3ds/
 
 # Notes on the paths of lib3ds files.
 # Once you have compiled the library put the lib files in a dir named lib/XXX/ 
@@ -25,11 +25,11 @@
 win32-msvc2005:LIBS	+= ../../external/lib/win32-msvc2005/3ds.lib
 win32-msvc2008:LIBS	+= ../../external/lib/win32-msvc2008/3ds.lib
 win32-g++:LIBS		+= ../../external/lib/win32-gcc/lib3ds.a
-linux-g++:LIBS += $$PWD/../../external/lib/linux-g++/lib3ds.a
-linux-g++-32:LIBS += $$PWD/../../external/lib/linux-g++-32/lib3ds.a
-linux-g++-64:LIBS += $$PWD/../../external/lib/linux-g++-64/lib3ds.a
+linux-g++:LIBS += -l3ds
+linux-g++-32:LIBS += -l3ds
+linux-g++-64:LIBS += -l3ds
 
-# unix:LIBS		+= -L../../../../code/lib/lib3ds-1.3.0/lib3ds/lib/unix -l3ds
+unix:LIBS += -l3ds
 
 # mac:LIBS -= -l3ds 
 # mac:LIBS += ../../../../code/lib/lib3ds-1.3.0/lib/mac/lib3ds.a