From 7361bb110836f5bf94590a4a6505b118342fe6e8 Mon Sep 17 00:00:00 2001 From: gregory guy Date: Wed, 28 Apr 2021 15:20:33 +0200 Subject: add symbols visibility option Signed-off-by: gregory guy (cherry picked from commit d9d663485e46f8cc27eb29da72647ed452d8396c) --- CMakeLists.txt | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index cdb7eae1..aa21a357 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,12 +43,13 @@ tde_setup_paths( ) ##### optional stuff -option( WITH_ALL_OPTIONS "Enable all optional support" OFF ) -option( WITH_XSCREENSAVER "Enable xscreensavers support" ${WITH_ALL_OPTIONS} ) -option( WITH_ALL_INCLUDED_XSCREENSAVERS "Install all included desktop files" OFF ) #regardless of the presence of XML -option( WITH_LIBART "Enable libart support" ${WITH_ALL_OPTIONS} ) -option( WITH_OPENGL "Enable 3D GL modes" ${WITH_ALL_OPTIONS} ) -option( WITH_ARTS "Enable aRts support" OFF ) +option( WITH_ALL_OPTIONS "Enable all optional support" OFF ) +option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" ${WITH_ALL_OPTIONS} ) +option( WITH_XSCREENSAVER "Enable xscreensavers support" ${WITH_ALL_OPTIONS} ) +option( WITH_ALL_INCLUDED_XSCREENSAVERS "Install all included desktop files" ${WITH_ALL_OPTIONS} ) #regardless of the presence of XML +option( WITH_LIBART "Enable libart support" ${WITH_ALL_OPTIONS} ) +option( WITH_OPENGL "Enable 3D GL modes" ${WITH_ALL_OPTIONS} ) +option( WITH_ARTS "Enable aRts support" ${WITH_ALL_OPTIONS} ) ########### options comments ############## # # -- cgit v1.2.1