From 8044a4da3ba090d7dd775e5ac719397e126b5e61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Mon, 28 Oct 2019 17:57:52 +0100 Subject: Add KDE_EXPORT to public library symbols. This fix build with gcc hidden visibility. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 1c40516d66c60fa211db7b535f93801802d2ff3e) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index e7798a6..1d31a3b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,7 +48,7 @@ endif( ) ##### optional stuff ############################ option( WITH_ALL_OPTIONS "Enable all optional support" OFF ) -option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" OFF ) +option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" ${WITH_ALL_OPTIONS} ) option( WITH_OPENVPN "Enable openvpn support" ${WITH_ALL_OPTIONS} ) option( WITH_PPTP "Enable pptp support" ${WITH_ALL_OPTIONS} ) option( WITH_VPNC "Enable vpnc support" ${WITH_ALL_OPTIONS} ) -- cgit v1.2.1