From aced228e7b002f8f2cdd370b9653371301f96f2f Mon Sep 17 00:00:00 2001 From: gregory guy Date: Wed, 9 Jun 2021 15:07:01 +0200 Subject: [PATCH] Add options WITH_ALL_OPTIONS enabled by default for consistency with the rest of the modules. Add option WITH_GCC_VISIBILITY for symbols visibility. Signed-off-by: gregory guy --- CMakeLists.txt | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 65e39011..6caab770 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -46,14 +46,16 @@ tde_setup_paths( ) ##### optional stuff ############################ -option( WITH_JINGLE "Enable jingle support (kopete)" OFF ) -option( WITH_SPEEX "Enable speex support (for jingle)" OFF ) -option( WITH_WEBCAM "Enable webcam support (kopete/msn)" OFF ) -option( WITH_GSM "Enable GSM SMS support (kopete/sms)" OFF ) -option( WITH_XMMS "Enable XMMS support (kopete/nowlistening)" OFF ) -option( WITH_LIBXSLT "Enable XSLT support (kopete/webpresence)" OFF ) -option( WITH_ARTS "Enable aRts support" OFF ) -option( WITH_SLP "Enable OpenSLP support (krdc, krfb)" OFF ) +option( WITH_ALL_OPTIONS "Enable all optional support" ON ) +option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" ${WITH_ALL_OPTIONS} ) +option( WITH_JINGLE "Enable jingle support (kopete)" ${WITH_ALL_OPTIONS} ) +option( WITH_SPEEX "Enable speex support (for jingle)" ${WITH_ALL_OPTIONS} ) +option( WITH_WEBCAM "Enable webcam support (kopete/msn)" ${WITH_ALL_OPTIONS} ) +option( WITH_GSM "Enable GSM SMS support (kopete/sms)" ${WITH_ALL_OPTIONS} ) +option( WITH_XMMS "Enable XMMS support (kopete/nowlistening)" ${WITH_ALL_OPTIONS} ) +option( WITH_LIBXSLT "Enable XSLT support (kopete/webpresence)" ${WITH_ALL_OPTIONS} ) +option( WITH_ARTS "Enable aRts support" ${WITH_ALL_OPTIONS} ) +option( WITH_SLP "Enable OpenSLP support (krdc, krfb)" ${WITH_ALL_OPTIONS} ) ##### options comments ##########################