diff --git a/cmake/ConkyBuildOptions.cmake b/cmake/ConkyBuildOptions.cmake index 85fcaeb3..6013dbc0 100644 --- a/cmake/ConkyBuildOptions.cmake +++ b/cmake/ConkyBuildOptions.cmake @@ -104,17 +104,21 @@ if(BUILD_X11) option(BUILD_XDAMAGE "Build Xdamage support" true) option(BUILD_XDBE "Build Xdbe (double-buffer) support" true) option(BUILD_XFT "Build Xft (freetype fonts) support" true) - option(BUILD_ARGB "Build ARGB (real transparency) support" true) option(BUILD_IMLIB2 "Enable Imlib2 support" false) else(BUILD_X11) set(OWN_WINDOW false CACHE BOOL "Enable own_window support" FORCE) set(BUILD_XDAMAGE false CACHE BOOL "Build Xdamage support" FORCE) set(BUILD_XDBE false CACHE BOOL "Build Xdbe (double-buffer) support" FORCE) set(BUILD_XFT false CACHE BOOL "Build Xft (freetype fonts) support" FORCE) - set(BUILD_ARGB false CACHE BOOL "Build ARGB (real transparency) support" FORCE) set(BUILD_IMLIB2 false CACHE BOOL "Enable Imlib2 support" FORCE) endif(BUILD_X11) +if(OWN_WINDOW) + option(BUILD_ARGB "Build ARGB (real transparency) support" true) +else(OWN_WINDOW) + set(BUILD_ARGB false CACHE BOOL "Build ARGB (real transparency) support" FORCE) +endif(OWN_WINDOW) + option(BUILD_LUA "Build Lua support" true) if(BUILD_LUA) option(BUILD_LUA_CAIRO "Build cairo bindings for Lua" false)