From cdb05c316ac7a183321fd4a76e167f0878216da5 Mon Sep 17 00:00:00 2001 From: gregory guy Date: Thu, 3 Dec 2020 14:28:05 +0100 Subject: [PATCH] Add symbols visibility option. Signed-off-by: gregory guy (cherry picked from commit c18ead073e9f0cd522273df5a4218c33875300c5) --- CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 760ddcb8..235c991a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -42,8 +42,9 @@ tde_setup_paths( ) ##### optional stuff -option( WITH_ALL_OPTIONS "Enable all optional support" OFF ) -option( WITH_ARTS "Enable aRts support" ${WITH_ALL_OPTIONS} ) +option( WITH_ALL_OPTIONS "Enable all optional support" OFF ) +option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" ${WITH_ALL_OPTIONS} ) +option( WITH_ARTS "Enable aRts support" ${WITH_ALL_OPTIONS} ) ######################## options comments ############################# # #