Hiroshi Hatake
null+****@clear*****
Sat Oct 25 18:31:25 JST 2014
Hiroshi Hatake 2014-10-25 18:31:25 +0900 (Sat, 25 Oct 2014) New Revision: d99ba05298e723c61dfa3299c594b57d8e46c3c6 https://github.com/mroonga/mroonga/commit/d99ba05298e723c61dfa3299c594b57d8e46c3c6 Message: cmake: drop MySQL 5.1 support Explicitly error generates if one uses MySQL < 5.5.0. Modified files: CMakeLists.txt Modified: CMakeLists.txt (+6 -0) =================================================================== --- CMakeLists.txt 2014-10-25 17:51:15 +0900 (1be3d09) +++ CMakeLists.txt 2014-10-25 18:31:25 +0900 (2907fe6) @@ -185,6 +185,12 @@ else() set_mysql_config_value("--version" MYSQL_VERSION) endif() +if(${MYSQL_VERSION} VERSION_LESS "5.5.0") + message(FATAL_ERROR + "Mroonga doesn't support MySQL < 5.5.0: <${MYSQL_VERSION}>") + return() +endif() + if(${MYSQL_VERSION} VERSION_GREATER "10.0.0" AND ${MYSQL_VERSION} VERSION_LESS "10.0.9") message(FATAL_ERROR -------------- next part -------------- HTML����������������������������...ダウンロード