summaryrefslogtreecommitdiff
path: root/media-gfx/meshlab/files/2016.12/0001-use-external-lib3ds.patch
blob: acbd8f4b5fed5300a95607b5e6b6eee308d6051c (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
From 911bc805f89c464540fdce4c16e15f64476cf161 Mon Sep 17 00:00:00 2001
From: Sobhan Mohammadpour <www.sobhan.mohammadpour@gmail.com>
Date: Wed, 22 Nov 2017 19:25:35 +0330
Subject: [PATCH] use-external-lib3ds

---
 meshlabplugins/io_3ds/io_3ds.pro | 24 ------------------------
 1 file changed, 24 deletions(-)

diff --git a/meshlabplugins/io_3ds/io_3ds.pro b/meshlabplugins/io_3ds/io_3ds.pro
index 601f5da..5a19589 100644
--- a/meshlabplugins/io_3ds/io_3ds.pro
+++ b/meshlabplugins/io_3ds/io_3ds.pro
@@ -9,31 +9,7 @@ HEADERS		= meshio.h \
 			io_3ds.h 
 				
 SOURCES       += 	meshio.cpp \
-			
-DEFINES += LIB3DS_STATIC
 
 TARGET        = io_3ds
 
-INCLUDEPATH += ../../external/lib3ds-1.3.0/
-
-# Notes on the paths of lib3ds files.
-# Once you have compiled the library put the lib files in a dir named lib/XXX/ 
-# where XXX is the name of your system according to the QT naming style.
-# Linux users can rely on their own package managers and hope that it is installing the last version of lib3ds
-
-win32-msvc2015:LIBS += ../../external/lib/win32-msvc2015/3ds.lib
-win32-msvc.net:LIBS	+= ../../external/lib/win32-msvc.net/3ds.lib
-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 += ../../external/lib/linux-g++/lib3ds.a
-linux-g++-32:LIBS += ../../external/lib/linux-g++-32/lib3ds.a
-linux-g++-64:LIBS += ../../external/lib/linux-g++-64/lib3ds.a
-
-# unix:LIBS		+= -L../../../../code/lib/lib3ds-1.3.0/lib3ds/lib/unix -l3ds
-
-# mac:LIBS -= -l3ds 
-# mac:LIBS += ../../../../code/lib/lib3ds-1.3.0/lib/mac/lib3ds.a
-
-macx:LIBS += $$MACLIBDIR/lib3ds.a
 
-- 
2.15.0