소스 검색

Don't enable D-Bus on Windows/OSX by default

Really not sure how the option logic is supposed to work. But currently
it will try to enable the QtDBus module on any OS.
Vincent Lang 8 년 전
부모
커밋
fe556e144c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      CMakeLists.txt

+ 1 - 1
CMakeLists.txt

@@ -19,7 +19,7 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON CACHE BOOL "" FORCE)
 option(OPENELEC "Make an OpenELEC build" OFF)
 option(LINUX_X11POWER "Enable non D-Bus screensaver management" OFF)
 
-if(NOT LINUX_X11POWER)
+if((NOT LINUX_X11POWER) AND (UNIX AND (NOT APPLE)))
   set(LINUX_DBUS ON)
 endif()