mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-17 18:45:10 +00:00
Bugfix: choosing BUILD_ARGB without OWN_WINDOW breaks building
This commit is contained in:
parent
5a85fc9053
commit
a8d633009d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user