diff --git a/cmake/ConkyBuildOptions.cmake b/cmake/ConkyBuildOptions.cmake index 0245aaa1..eb19101d 100644 --- a/cmake/ConkyBuildOptions.cmake +++ b/cmake/ConkyBuildOptions.cmake @@ -106,17 +106,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_CAIRO "Build cairo bindings for Lua" false) option(BUILD_LUA_IMLIB2 "Build Imlib2 bindings for Lua" false)