@ -27,16 +27,21 @@ feature_option(STACKTRACE "Enable stacktrace support" ON)
@@ -27,16 +27,21 @@ feature_option(STACKTRACE "Enable stacktrace support" ON)
feature_option ( TESTING "Build internal testing suite" OFF )
feature_option ( VERBOSE_CONFIGURE "Show information about PACKAGES_FOUND and PACKAGES_NOT_FOUND in the configure output (only useful for debugging the CMake build scripts)" OFF )
if ( CMAKE_SYSTEM_NAME STREQUAL "Linux" )
if ( CMAKE_SYSTEM_NAME STREQUAL "Linux" OR CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" )
feature_option_dependent ( DBUS
" E n a b l e s u p p o r t f o r n o t i f i c a t i o n s a n d p o w e r - m a n a g e m e n t f e a t u r e s v i a D - B u s o n L i n u x "
" E n a b l e s u p p o r t f o r n o t i f i c a t i o n s a n d p o w e r - m a n a g e m e n t f e a t u r e s v i a D - B u s "
O N " G U I " O F F
)
endif ( )
if ( CMAKE_SYSTEM_NAME STREQUAL "Linux" )
feature_option_dependent ( SYSTEMD
" I n s t a l l s y s t e m d s e r v i c e f i l e . T a r g e t d i r e c t o r y i s o v e r r i d a b l e w i t h ` S Y S T E M D _ S E R V I C E S _ I N S T A L L _ D I R ` v a r i a b l e "
O F F " N O T G U I " O F F
)
elseif ( MSVC )
endif ( )
if ( MSVC )
feature_option ( MSVC_RUNTIME_DYNAMIC "Use MSVC dynamic runtime library (-MD) instead of static (-MT)" ON )
endif ( )