diff --git a/src/general.pri b/src/general.pri index ead87336a..b5499535f 100644 --- a/src/general.pri +++ b/src/general.pri @@ -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