From 37e7995d824175b1ed44d5ef1ea0d8f75f67d8b6 Mon Sep 17 00:00:00 2001 From: Allen Winter Date: Thu, 18 May 2006 23:14:12 +0000 Subject: eh. another attempt. don't think this is quite working. maybe Dirk would be willing to give it a try? svn path=/trunk/KDE/kdelibs/; revision=542316 --- modules/FindKDE4Internal.cmake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake index 86125b13..b616d8b2 100644 --- a/modules/FindKDE4Internal.cmake +++ b/modules/FindKDE4Internal.cmake @@ -615,7 +615,11 @@ if (CMAKE_C_COMPILER MATCHES "icc") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ansi -Wpointer-arith -fno-exceptions -fno-common") # visibility support - set (__KDE_HAVE_ICC_VISIBILITY) + set(__KDE_HAVE_ICC_VISIBILITY) +# check_cxx_compiler_flag(-fvisibility=hidden __KDE_HAVE_ICC_VISIBILITY) +# if (__KDE_HAVE_ICC_VISIBILITY) +# set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden") +# endif (__KDE_HAVE_ICC_VISIBILITY) endif (CMAKE_C_COMPILER MATCHES "icc") -- cgit v1.2.1