From 303fbe95e515a6887dec0a2f98485ec22e64b28b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Tue, 6 Nov 2007 14:27:51 +0000 Subject: Make __KDE_HAVE_GCC_VISIBILITY cached. svn path=/trunk/KDE/kdelibs/; revision=733507 --- modules/FindKDE4Internal.cmake | 1 + 1 file changed, 1 insertion(+) (limited to 'modules') diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake index 3a4f2e72..ab0f4fb5 100644 --- a/modules/FindKDE4Internal.cmake +++ b/modules/FindKDE4Internal.cmake @@ -813,6 +813,7 @@ if (CMAKE_COMPILER_IS_GNUCXX) # visibility support check_cxx_compiler_flag(-fvisibility=hidden __KDE_HAVE_GCC_VISIBILITY) + set( __KDE_HAVE_GCC_VISIBILITY ${__KDE_HAVE_GCC_VISIBILITY} CACHE BOOL "GCC support for hidden visibility") # get the gcc version exec_program(${CMAKE_C_COMPILER} ARGS --version OUTPUT_VARIABLE _gcc_version_info) -- cgit v1.2.1