Reduce required cmake version to 2.8.8 again.

It doesn't seem to be required in all cases.
This commit is contained in:
Felix Geyer 2012-10-27 10:52:54 +02:00
parent 8d9b209014
commit 16094be4a3

View File

@ -218,7 +218,7 @@ install(TARGETS ${PROGNAME}
add_subdirectory(autotype) 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") if(QT_MAC_USE_COCOA AND EXISTS "${QT_LIBRARY_DIR}/Resources/qt_menu.nib")
install(DIRECTORY "${QT_LIBRARY_DIR}/Resources/qt_menu.nib" install(DIRECTORY "${QT_LIBRARY_DIR}/Resources/qt_menu.nib"
DESTINATION "${DATA_INSTALL_DIR}") 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") install_qt4_executable(${PROGNAME}.app "qjpeg;qgif;qico;qtaccessiblewidgets")
endif() 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_GENERATOR "ZIP")
set(CPACK_STRIP_FILES ON) set(CPACK_STRIP_FILES ON)
set(CPACK_PACKAGE_FILE_NAME "${PROGNAME}-${KEEPASSX_VERSION_NUM}") set(CPACK_PACKAGE_FILE_NAME "${PROGNAME}-${KEEPASSX_VERSION_NUM}")