Skip to content

Commit

Permalink
Compatibilty for macOS 10.13, compiled on BigSur
Browse files Browse the repository at this point in the history
  • Loading branch information
masc4ii committed Jan 24, 2023
1 parent dfb0870 commit e99136d
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions WaoStats.pro
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,19 @@ greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

macx{arm64{
QMAKE_CC = /opt/homebrew/opt/llvm@11/bin/clang
QMAKE_CXX = /opt/homebrew/opt/llvm@11/bin/clang++
QMAKE_LINK = /opt/homebrew/opt/llvm@11/bin/clang++
QMAKE_CFLAGS += -fopenmp -ftree-vectorize
QMAKE_CXXFLAGS += -fopenmp -std=c++11 -ftree-vectorize
INCLUDEPATH += -I/opt/homebrew/opt/llvm@11/include
LIBS += -L/opt/homebrew/opt/llvm@11/lib -lomp
QMAKE_APPLE_DEVICE_ARCHS = arm64
}}
macx{
arm64{
QMAKE_CC = /opt/homebrew/opt/llvm@11/bin/clang
QMAKE_CXX = /opt/homebrew/opt/llvm@11/bin/clang++
QMAKE_LINK = /opt/homebrew/opt/llvm@11/bin/clang++
QMAKE_CFLAGS += -fopenmp -ftree-vectorize
QMAKE_CXXFLAGS += -fopenmp -std=c++11 -ftree-vectorize
INCLUDEPATH += -I/opt/homebrew/opt/llvm@11/include
LIBS += -L/opt/homebrew/opt/llvm@11/lib -lomp
QMAKE_APPLE_DEVICE_ARCHS = arm64
}
else: QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.13
}

CONFIG += qwt
include( $${PWD}/qwt-6.2.0/qwtconfig.pri )
Expand Down

0 comments on commit e99136d

Please sign in to comment.