X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=CMakeLists.txt;h=aa0b49233fd512d36b226ad10ebd8bedc0f6de7d;hb=e1e56477e17172301dc6d1b3aadaf0431689afb0;hp=7268dac1a805597f73133de59f8f2be3fa4c542a;hpb=0cdc3bdc397e5d9b45fecb682f0de73d47f9e228;p=quassel.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 7268dac1..aa0b4923 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -131,6 +131,11 @@ if (CMAKE_MAJOR_VERSION GREATER 2) cmake_policy(SET CMP0043 OLD) endif() +# Honor visibility settings for all target types +if (CMAKE_VERSION VERSION_GREATER 3.3) + cmake_policy(SET CMP0063 NEW) +endif() + # Simplify later checks ##################################################################### @@ -231,7 +236,7 @@ if (USE_QT5) PURPOSE "Enable support for the snorenotify framework" ) endif() - + if (WITH_WEBKIT) find_package(Qt5WebKit QUIET)