summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2021-06-09 15:07:01 +0200
committerMichele Calgaro <michele.calgaro@yahoo.it>2021-06-10 23:50:49 +0900
commit120be495ce93ebee0f103eaafb9e7b89cf21b5fd (patch)
tree03c2bc76fa645e89b8c42a960e3d9b16f24e10d0
parentcb5227262289449ea3430f8402feb0b8889a8741 (diff)
downloadtdenetwork-120be495ce93ebee0f103eaafb9e7b89cf21b5fd.tar.gz
tdenetwork-120be495ce93ebee0f103eaafb9e7b89cf21b5fd.zip
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 <gregory-tde@laposte.net> (cherry picked from commit aced228e7b002f8f2cdd370b9653371301f96f2f)
-rw-r--r--CMakeLists.txt18
1 files changed, 10 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 237ea140..57c92d57 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 ##########################