1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-06-26 10:29:31 +00:00

Limit X11 linkage to Linux.

This commit is contained in:
Thomas Harte 2021-05-05 22:17:24 -04:00
parent 5f6c08b7e0
commit ef50967793

View File

@ -13,8 +13,10 @@ INCLUDEPATH += $$[QT_INSTALL_PREFIX]/src/3rdparty/zlib
LIBS += -lz
# If targetting X11, link against that.
QT += x11extras
LIBS += -lX11
linux {
QT += x11extras
LIBS += -lX11
}
# Add flags (i) to identify that this is a Qt build; and
# (ii) to disable asserts in release builds.