summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-08-28 00:04:23 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-08-28 00:04:23 +0200
commitf705c28fa45c17d1d18ef292779860104637ab34 (patch)
tree80b8624a4a552f6d9f396e2c2d08b698cecc56a8
parent4d49d83565a99e1c41e3a7e8e0c2732afcd83b16 (diff)
downloadtdesshaskpass-f705c28fa45c17d1d18ef292779860104637ab34.tar.gz
tdesshaskpass-f705c28fa45c17d1d18ef292779860104637ab34.zip
Add option to enable build with hidden visibility.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 168b306..924bff4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -39,6 +39,12 @@ include( TDESetupPaths )
tde_setup_paths( )
+##### optional stuff ############################
+
+option( WITH_ALL_OPTIONS "Enable all optional support" OFF )
+option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" ${WITH_ALL_OPTIONS} )
+
+
##### user requested modules ####################
option( BUILD_ALL "Build all" OFF )