Skip to content

Commit

Permalink
fixup! Add a BUILD_GUI define (for now only defined on BUILD_X11)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmuman committed Oct 18, 2018
1 parent feaa988 commit 215cb8e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 5 additions & 0 deletions cmake/ConkyBuildOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,11 @@ else(BUILD_X11)
set(BUILD_XSHAPE false CACHE BOOL "Enable Xshape support" FORCE)
endif(BUILD_X11)

# if we build with any GUI support
if(BUILD_X11)
set(BUILD_GUI true)
endif(BUILD_X11)

if(OWN_WINDOW)
option(BUILD_ARGB "Build ARGB (real transparency) support" true)
else(OWN_WINDOW)
Expand Down
4 changes: 1 addition & 3 deletions cmake/config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,7 @@

#cmakedefine BUILD_HTTP 1

#if defined(BUILD_X11)
#define BUILD_GUI
#endif
#cmakedefine BUILD_GUI 1

#cmakedefine BUILD_ICONV 1

Expand Down

0 comments on commit 215cb8e

Please sign in to comment.