X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=CMakeLists.txt;h=542d362b912930c77abf40681f6b5056a4ba8c37;hp=aa835a5e64447641cb41686482ae3ef04fa77289;hb=9b689f0e308cc0007f63086c3dc45db219d5b7db;hpb=e900ab99c3ab96fa8aed781785fe94b21c8c7890 diff --git a/CMakeLists.txt b/CMakeLists.txt index aa835a5e..542d362b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,6 +6,8 @@ # General setup ##################################################################### +cmake_minimum_required(VERSION 3.5) + # Versions set(QUASSEL_MAJOR 0) set(QUASSEL_MINOR 13) @@ -144,12 +146,6 @@ option(WITH_LDAP "Enable LDAP authentication support if present on system" ON) # Setup CMake ##################################################################### -if (WITH_KDE) - cmake_minimum_required(VERSION 2.8.12) -else() - cmake_minimum_required(VERSION 2.8.9) -endif() - # Setting COMPILE_DEFINITIONS_ is deprecated since CMake 3.0 in favor of generator expressions. # These have existed since CMake 2.8.10; until we depend on that, we have to explicitly enable the old policy. if (POLICY CMP0043)