mirror of https://github.com/KLayout/klayout.git
Fix compile errors on (macOS Sonoma) x (Qt5 MacPorts)
This commit is contained in:
parent
a6696f06e0
commit
68ebbe4abc
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue