openmp windows

This commit is contained in:
alemuntoni 2020-02-20 16:32:15 +01:00
parent be31184615
commit 91b8eda353

View File

@ -15,8 +15,8 @@ VCGDIR = $$MESHLAB_SOURCE_DIRECTORY/../vcglib
CONFIG += c++11
# MeshLab requires OpenMP
#win32-msvc:QMAKE_CXXFLAGS+=/openmp TODO fix this for vcglib
QMAKE_CXXFLAGS+= -fopenmp
win32-msvc:QMAKE_CXXFLAGS+=/openmp #Just for cl, flag is /openmp instead of -fopenmp
!win32-msvc:QMAKE_CXXFLAGS+= -fopenmp
#Debug and Release configs
CONFIG(release, debug|release):QMAKE_CXXFLAGS += -O3 -DNDEBUG