summarylogtreecommitdiffstats
path: root/ssynth.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ssynth.patch')
-rw-r--r--ssynth.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/ssynth.patch b/ssynth.patch
new file mode 100644
index 000000000000..459c0f411e27
--- /dev/null
+++ b/ssynth.patch
@@ -0,0 +1,26 @@
+diff --git a/src/external/structuresynth-1.5/structuresynth.pro b/src/external/structuresynth-1.5/structuresynth.pro
+index b946f88b..a019ba48 100644
+--- a/src/external/structuresynth-1.5/structuresynth.pro
++++ b/src/external/structuresynth-1.5/structuresynth.pro
+@@ -2,6 +2,8 @@ TEMPLATE = lib
+ TARGET = ssynth
+ CONFIG += staticlib
+
++QMAKE_CXXFLAGS+=-fopenmp
++
+ DEPENDPATH += . \
+ ssynth \
+ ssynth/StructureSynth/Model \
+diff --git a/src/meshlabplugins/filter_ssynth/filter_ssynth.pro b/src/meshlabplugins/filter_ssynth/filter_ssynth.pro
+index 5ab0cd36..dd5506a7 100644
+--- a/src/meshlabplugins/filter_ssynth/filter_ssynth.pro
++++ b/src/meshlabplugins/filter_ssynth/filter_ssynth.pro
+@@ -18,6 +18,8 @@ win32-msvc2012:LIBS += ../../external/lib/win32-msvc2012/ssynth.lib
+ win32-msvc2015:LIBS += ../../external/lib/win32-msvc2015/ssynth.lib
+ win32-g++:LIBS += ../../external/lib/win32-gcc/libssynth.a
+ linux-g++:LIBS += ../../external/lib/linux-g++/libssynth.a
++linux-g++:LIBS += -lgomp
++QMAKE_CXXFLAGS+=-fopenmp
+ macx:LIBS += ../../external/lib/macx64/libssynth.a
+ TARGET = filter_ssynth
+ TEMPLATE = lib