mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-27 06:35:04 +00:00
Limit X11 linkage to Linux.
This commit is contained in:
parent
5f6c08b7e0
commit
ef50967793
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user