diff options
author | Timothy Pearson <[email protected]> | 2012-10-26 02:51:52 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-10-26 02:51:52 -0500 |
commit | a862630a8353b47d09c8a109051c5f194799f905 (patch) | |
tree | da312eee60dca64cb05178a77b5d8122c7824622 | |
parent | a02874aa99786561dbf7dbb2f4e35659d22fa2e1 (diff) | |
parent | 1ef0dc650276201c356b1720fc22701e2f2b3cdb (diff) | |
download | gtk-qt-engine-a862630a8353b47d09c8a109051c5f194799f905.tar.gz gtk-qt-engine-a862630a8353b47d09c8a109051c5f194799f905.zip |
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/gtk-qt-engine
-rw-r--r-- | ConfigureChecks.cmake | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 3bc08a7..12e2eb1 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -1,3 +1,17 @@ +##### check for gcc visibility support ######### +# FIXME +# This should check for [T]Qt3 visibility support + +if( WITH_GCC_VISIBILITY ) + if( NOT UNIX ) + tde_message_fatal(FATAL_ERROR "\ngcc visibility support was requested, but your system is not *NIX" ) + endif( NOT UNIX ) + set( __KDE_HAVE_GCC_VISIBILITY 1 ) + set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden -fvisibility-inlines-hidden") + set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden -fvisibility-inlines-hidden") +endif( ) + + # required stuff find_package( TQt ) find_package( TDE ) |