X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=CMakeLists.txt;h=3552e4e5bcec353d22ca0b5b991d85260775342c;hb=6b2d80b85a521392b3a34c902ab8ef85899f9cb6;hp=0c1141f8446ce5ee5dddf26b24991cbc5f0539f6;hpb=0270939fb84c62cd39d84dd8484a75f6c8dde14c;p=quassel.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 0c1141f8..3552e4e5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,7 +13,7 @@ project(QuasselIRC) set(QUASSEL_MAJOR 0) set(QUASSEL_MINOR 11) set(QUASSEL_PATCH 0) -set(QUASSEL_VERSION_STRING "0.11-pre") +set(QUASSEL_VERSION_STRING "0.11.1-pre") # Tell CMake about or own modules set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake) @@ -36,8 +36,9 @@ include(QuasselMacros) # 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. -cmake_policy(SET CMP0043 OLD) - +if (CMAKE_MAJOR_VERSION GREATER 2) + cmake_policy(SET CMP0043 OLD) +endif() # Options and variables that can be set on the command line #####################################################################