diff options
author | Allen Winter <winter@kde.org> | 2006-05-18 23:14:12 +0000 |
---|---|---|
committer | Allen Winter <winter@kde.org> | 2006-05-18 23:14:12 +0000 |
commit | 37e7995d824175b1ed44d5ef1ea0d8f75f67d8b6 (patch) | |
tree | 7a772f5dd15708bd975794f8940421fbd5dca754 | |
parent | 51ab25a2a39fba465cff7dea130571dc5bbd1b2e (diff) | |
download | extra-cmake-modules-37e7995d824175b1ed44d5ef1ea0d8f75f67d8b6.tar.gz extra-cmake-modules-37e7995d824175b1ed44d5ef1ea0d8f75f67d8b6.tar.bz2 |
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
-rw-r--r-- | modules/FindKDE4Internal.cmake | 6 |
1 files changed, 5 insertions, 1 deletions
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") |