Fixed wrong version number in MySQL version comparison.

This commit is contained in:
Markus Makela
2015-01-29 18:33:00 +02:00
parent 28e6a2c818
commit 618316d7e7

View File

@ -32,6 +32,6 @@ message(STATUS "MySQL provider: ${MYSQL_PROVIDER}")
if(NOT MYSQL_PROVIDER STREQUAL "MariaDB") if(NOT MYSQL_PROVIDER STREQUAL "MariaDB")
message(WARNING "Not using MariaDB server.") message(WARNING "Not using MariaDB server.")
endif() endif()
if(MYSQL_VERSION VERSION_LESS 5.6.41) if(MYSQL_VERSION VERSION_LESS 5.5.41)
message(WARNING "MySQL version is ${MYSQL_VERSION}. Minimum supported version is 5.6.41") message(WARNING "MySQL version is ${MYSQL_VERSION}. Minimum supported version is 5.5.41")
endif() endif()