mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-02-14 18:06:32 +00:00
Prepare environment
Signed-off-by: Tin Svagelj <tin.svagelj@live.com>
This commit is contained in:
parent
f52c5cbd7b
commit
afa5f326e8
@ -171,7 +171,6 @@ if(BUILD_X11)
|
||||
option(BUILD_XFT "Build Xft (freetype fonts) support" true)
|
||||
option(BUILD_IMLIB2 "Enable Imlib2 support" true)
|
||||
option(BUILD_XSHAPE "Enable Xshape support" true)
|
||||
option(BUILD_MOUSE_EVENTS "Enable mouse event support" true)
|
||||
else(BUILD_X11)
|
||||
set(OWN_WINDOW false CACHE BOOL "Enable own_window support" FORCE)
|
||||
set(BUILD_XDAMAGE false CACHE BOOL "Build Xdamage support" FORCE)
|
||||
@ -181,7 +180,6 @@ else(BUILD_X11)
|
||||
set(BUILD_XFT false CACHE BOOL "Build Xft (freetype fonts) support" FORCE)
|
||||
set(BUILD_IMLIB2 false CACHE BOOL "Enable Imlib2 support" FORCE)
|
||||
set(BUILD_XSHAPE false CACHE BOOL "Enable Xshape support" FORCE)
|
||||
set(BUILD_MOUSE_EVENTS false CACHE BOOL "Enable mouse event support" FORCE)
|
||||
set(BUILD_NVIDIA false)
|
||||
endif(BUILD_X11)
|
||||
|
||||
@ -193,6 +191,10 @@ if(BUILD_WAYLAND)
|
||||
set(BUILD_GUI true)
|
||||
endif(BUILD_WAYLAND)
|
||||
|
||||
if(BUILD_GUI)
|
||||
option(BUILD_MOUSE_EVENTS "Enable mouse event support" true)
|
||||
endif(BUILD_GUI)
|
||||
|
||||
if(OWN_WINDOW)
|
||||
option(BUILD_ARGB "Build ARGB (real transparency) support" true)
|
||||
else(OWN_WINDOW)
|
||||
|
@ -338,6 +338,11 @@ if(BUILD_INTEL_BACKLIGHT)
|
||||
set(optional_sources ${optional_sources} ${intel_backlight})
|
||||
endif(BUILD_INTEL_BACKLIGHT)
|
||||
|
||||
if(BUILD_MOUSE_EVENTS)
|
||||
set(mouse_events mouse-events.cc mouse-events.h)
|
||||
set(optional_sources ${optional_sources} ${mouse_events})
|
||||
endif(BUILD_MOUSE_EVENTS)
|
||||
|
||||
if(BUILD_TESTS)
|
||||
# Create a library strictly for testing
|
||||
add_library(conky_core ${conky_sources} ${optional_sources})
|
||||
|
@ -179,9 +179,15 @@ static void print_version() {
|
||||
<< _(" * Own window\n")
|
||||
#endif
|
||||
#ifdef BUILD_MOUSE_EVENTS
|
||||
<< _(" * Mouse evenets\n")
|
||||
<< _(" * Mouse events\n")
|
||||
#endif
|
||||
#endif /* BUILD_X11 */
|
||||
#ifdef BUILD_WAYLAND
|
||||
<< _(" X11:\n")
|
||||
#ifdef BUILD_MOUSE_EVENTS
|
||||
<< _(" * Mouse events\n")
|
||||
#endif
|
||||
#endif /* BUILD_WAYLAND */
|
||||
#if defined BUILD_AUDACIOUS || defined BUILD_CMUS || defined BUILD_MPD || \
|
||||
defined BUILD_MOC || defined BUILD_XMMS2
|
||||
<< _("\n Music detection:\n")
|
||||
|
Loading…
x
Reference in New Issue
Block a user