diff --git a/dust3d.pro b/dust3d.pro index 13ff6b51..1fc04c89 100644 --- a/dust3d.pro +++ b/dust3d.pro @@ -517,6 +517,12 @@ win32 { DEFINES += WITH_OMP } +unix:!macx { + QMAKE_CXXFLAGS += -fopenmp + DEFINES += WITH_OMP + LIBS += -lgomp +} + win32 { # Fix error LNK2001: unresolved external symbol "struct lemon::Invalid const lemon::INVALID" (?INVALID@lemon@@3UInvalid@1@B) DEFINES += LEMON_ONLY_TEMPLATES