X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=CMakeLists.txt;h=aa0b49233fd512d36b226ad10ebd8bedc0f6de7d;hp=7268dac1a805597f73133de59f8f2be3fa4c542a;hb=e67887343c433cc35bc26ad6a9392588f427e746;hpb=8cece06596c290d69c1f32b7221c796437f5fabb 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)