diff --git a/CMakeLists.txt b/CMakeLists.txt index 8e63a5a..d8a6667 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -109,7 +109,7 @@ if(ENABLE_WATCHDOG) src/gameparser.cpp) endif() -if(UNIX AND NOT APPLE) +if(ENABLE_WATCHDOG) set(LIBRARIES ${LIBRARIES} X11 Xcomposite