1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-22 04:37:46 +00:00

Only link to X11 when building with Watchdog support

This commit is contained in:
Joshua Goins 2022-03-16 09:51:12 -04:00
parent 36e1aab0a1
commit d588bfcb6c

View file

@ -109,7 +109,7 @@ if(ENABLE_WATCHDOG)
src/gameparser.cpp)
endif()
if(UNIX AND NOT APPLE)
if(ENABLE_WATCHDOG)
set(LIBRARIES ${LIBRARIES}
X11
Xcomposite