Skip to content
Snippets Groups Projects
Commit 0b06cfcb authored by Emmanuel Lepage's avatar Emmanuel Lepage
Browse files

[ #12352 ] Drop support for GCC 4.5

parent 0e99d920
No related branches found
No related tags found
No related merge requests found
...@@ -14,6 +14,16 @@ FIND_PACKAGE ( KdepimLibs REQUIRED ) ...@@ -14,6 +14,16 @@ FIND_PACKAGE ( KdepimLibs REQUIRED )
FIND_PACKAGE ( KDE4 REQUIRED ) FIND_PACKAGE ( KDE4 REQUIRED )
FIND_PACKAGE ( Qt4 REQUIRED QtCore QtGui QtXml QtDBus QtTest QtSVG QT_USE_QT* ) FIND_PACKAGE ( Qt4 REQUIRED QtCore QtGui QtXml QtDBus QtTest QtSVG QT_USE_QT* )
if (CMAKE_COMPILER_IS_GNUCC)
execute_process(COMMAND ${CMAKE_C_COMPILER} -dumpversion OUTPUT_VARIABLE GCC_VERSION)
if (GCC_VERSION VERSION_GREATER 4.6 OR GCC_VERSION VERSION_EQUAL 4.6)
message(STATUS "Found GCC version >= 4.6")
else()
message(FATAL_ERROR "Your version of GCC is too old, please install GCC 4.6 or later")
endif()
endif()
set(AKONADI_MIN_VERSION 1.0) set(AKONADI_MIN_VERSION 1.0)
find_package(Akonadi QUIET NO_MODULE ${AKONADI_MIN_VERSION}) find_package(Akonadi QUIET NO_MODULE ${AKONADI_MIN_VERSION})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment