summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2021-06-09 15:07:01 +0200
committergregory guy <gregory-tde@laposte.net>2021-06-10 14:33:33 +0200
commitaced228e7b002f8f2cdd370b9653371301f96f2f (patch)
tree0fdcc9d3a61567f745db756f2474992fc5350f2e /CMakeLists.txt
parent75b27d415da062fc7df07bbdacafbf85c5952e69 (diff)
downloadtdenetwork-aced228e7b002f8f2cdd370b9653371301f96f2f.tar.gz
tdenetwork-aced228e7b002f8f2cdd370b9653371301f96f2f.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>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt18
1 files 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 ##########################