From 16094be4a3953e3e550dd05c78c8866ad8ff08e3 Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Sat, 27 Oct 2012 10:52:54 +0200 Subject: [PATCH] Reduce required cmake version to 2.8.8 again. It doesn't seem to be required in all cases. --- src/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 361001a45..e3b017149 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -218,7 +218,7 @@ install(TARGETS ${PROGNAME} add_subdirectory(autotype) -if(APPLE AND NOT (${CMAKE_VERSION} VERSION_LESS 2.8.9)) +if(APPLE AND NOT (${CMAKE_VERSION} VERSION_LESS 2.8.8)) if(QT_MAC_USE_COCOA AND EXISTS "${QT_LIBRARY_DIR}/Resources/qt_menu.nib") install(DIRECTORY "${QT_LIBRARY_DIR}/Resources/qt_menu.nib" DESTINATION "${DATA_INSTALL_DIR}") @@ -236,7 +236,7 @@ if(APPLE AND NOT (${CMAKE_VERSION} VERSION_LESS 2.8.9)) install_qt4_executable(${PROGNAME}.app "qjpeg;qgif;qico;qtaccessiblewidgets") endif() -if(MINGW AND NOT (${CMAKE_VERSION} VERSION_LESS 2.8.9)) +if(MINGW AND NOT (${CMAKE_VERSION} VERSION_LESS 2.8.8)) set(CPACK_GENERATOR "ZIP") set(CPACK_STRIP_FILES ON) set(CPACK_PACKAGE_FILE_NAME "${PROGNAME}-${KEEPASSX_VERSION_NUM}")