X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=CMakeLists.txt;h=a220522805838739749a7f45ddd58c19ac683525;hp=42bacd81f7ecadc9607035846ec6bed469eb43ed;hb=b0021c10835573ee881e067e9550a1625834177d;hpb=9279d0a8af31446ee2165643c7db2ad78a39cf54 diff --git a/CMakeLists.txt b/CMakeLists.txt index 42bacd81..a2205228 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,19 +25,13 @@ # NOTE: You should remove CMakeCache.txt if you plan to change any of these values! +cmake_minimum_required(VERSION 2.8.9) project(QuasselIRC) include(CheckFunctionExists) include(CheckIncludeFile) include(CheckCXXCompilerFlag) -# For building against Qt5, we check for an even newer cmake version below! -cmake_minimum_required(VERSION 2.8.1 FATAL_ERROR) - -if(COMMAND cmake_policy) - cmake_policy(SET CMP0003 NEW) -endif(COMMAND cmake_policy) - # Use our own (well, and KDE's) version of some modules # In particular cmake's own FindQt4 and FindOpenSSL are quite buggy set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules)