From bce94208bbeaad14ca95e1671b8a7164976afd46 Mon Sep 17 00:00:00 2001 From: Alexander Golubev Date: Sun, 10 Mar 2024 01:12:34 +0300 Subject: [PATCH] cmake: set WITH_GCC_VISIBILITY to ON by default The old ./configure has it ON by default as well Signed-off-by: Alexander Golubev --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b04a984f..ea1e5b3c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,9 +66,9 @@ set( QT_INSTALL_SYSCONF "/etc/${PROJECT_NAME}" CACH ##### optional stuff option( WITH_ALL_OPTIONS "Enable all optional support" ON ) -option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" OFF ) +option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" ON ) -option( WITH_STL "Enable c++ stl support" ON ) # breaks ABI +option( WITH_STL "Enable c++ stl support" ON ) # breaks ABI option( WITH_IPV6 "Enable IPv6 support" ${WITH_ALL_OPTIONS} ) option( WITH_CUPS "Enable cups support" ${WITH_ALL_OPTIONS} ) option( WITH_GLIBMAINLOOP "Enable Glib support" ${WITH_ALL_OPTIONS} )