From c7a926881ad928c1fbd337bd4bf3cb5ab0292b54 Mon Sep 17 00:00:00 2001 From: Andreas Beckmann Date: Thu, 9 Dec 2021 17:20:31 +0100 Subject: [PATCH] [PATCH 127/144] really enable VISIBILITY_HIDDEN by default Gbp-Pq: Name 0127-really-enable-VISIBILITY_HIDDEN-by-default.patch --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ba06c79..3f11893 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -193,7 +193,7 @@ if (ENABLE_PROXY_DEVICE) else() set(VISIBILITY_HIDDEN_DEFAULT ON) endif() -option(VISIBILITY_HIDDEN "Build with -fvisibility=hidden -fvisibility-inlines-hidden" VISIBILITY_HIDDEN_DEFAULT) +option(VISIBILITY_HIDDEN "Build with -fvisibility=hidden -fvisibility-inlines-hidden" ${VISIBILITY_HIDDEN_DEFAULT}) if(VISIBILITY_HIDDEN) add_compile_options(-fvisibility=hidden) add_compile_options($<$:-fvisibility-inlines-hidden>) -- 2.30.2