From 469436acf61d756fb1e0e2d6ab68be1d95ea1921 Mon Sep 17 00:00:00 2001 From: Thomas Zander Date: Tue, 23 Jan 2007 12:47:57 +0000 Subject: Fix inline-visibility detection svn path=/trunk/KDE/kdelibs/; revision=626472 --- modules/FindKDE4Internal.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake index 84f4f1b9..2710fff1 100644 --- a/modules/FindKDE4Internal.cmake +++ b/modules/FindKDE4Internal.cmake @@ -752,12 +752,12 @@ if (CMAKE_COMPILER_IS_GNUCXX) { std::string s(\"blafasel\"); return 0; - }" GCC_VISIBILITY_INLINES_HIDDEN_BUG) + }" GCC_VISIBILITY_INLINES_HIDDEN_AVAILABLE) macro_pop_required_vars() - if (NOT GCC_VISIBILITY_INLINES_HIDDEN_BUG) + if (GCC_VISIBILITY_INLINES_HIDDEN_AVAILABLE) set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility-inlines-hidden") - endif (NOT GCC_VISIBILITY_INLINES_HIDDEN_BUG) + endif (GCC_VISIBILITY_INLINES_HIDDEN_AVAILABLE) else (__KDE_HAVE_GCC_VISIBILITY AND GCC_IS_NEWER_THAN_4_1 AND NOT _GCC_COMPILED_WITH_BAD_ALLOCATOR) set (__KDE_HAVE_GCC_VISIBILITY 0) endif (__KDE_HAVE_GCC_VISIBILITY AND GCC_IS_NEWER_THAN_4_1 AND NOT _GCC_COMPILED_WITH_BAD_ALLOCATOR) -- cgit v1.2.1