X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=CMakeLists.txt;h=8462db8ad392bf2328cba7ddd982e6180466584d;hp=e28d90fb4c352874334504ee170a8d3a0782b4ff;hb=57d9abdd9cb8506a12f4a2dbb96fd8d840c380c8;hpb=1514aaae673660c7a3e2a82545b8c3947ea3f9b7 diff --git a/CMakeLists.txt b/CMakeLists.txt index e28d90fb..8462db8a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,7 +20,6 @@ cmake_minimum_required(VERSION 2.6.0 FATAL_ERROR) if(COMMAND cmake_policy) cmake_policy(SET CMP0003 NEW) - cmake_policy(SET CMP0005 NEW) endif(COMMAND cmake_policy) # Use our own (well, and KDE's) version of some modules @@ -61,8 +60,6 @@ set(DATA_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/share/apps) set(ICON_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/share/icons) set(XDG_APPS_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/share/applications) -add_definitions(-DPREFIX=${CMAKE_INSTALL_PREFIX}) - # Enable various flags on gcc if(CMAKE_COMPILER_IS_GNUCXX) # Let's just hope that all gccs support these options and skip the tests...