mirror of
https://github.com/KLayout/klayout.git
synced 2026-08-30 17:53:00 +02:00
Fix compile errors on (macOS Sonoma) x (Qt5 MacPorts)
This commit is contained in:
@@ -4,6 +4,9 @@
|
||||
# capnp needs C++ 14 in version 1.0.1
|
||||
# Qt6 comes with C++ 17 requirement.
|
||||
equals(HAVE_QT, "0") || lessThan(QT_MAJOR_VERSION, 6) {
|
||||
# (1) and (2) are required by (macOS Sonoma) x (Qt5 MacPorts)
|
||||
CONFIG -= c++11 # (1)
|
||||
CONFIG += c++14 # (2)
|
||||
QMAKE_CXXFLAGS += -std=c++14
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user