[Groonga-mysql-commit] mroonga/mroonga at e04d5b6 [master] Remove parentheses in if() to support cmake 2.6

Back to archive index

susumu.yata null+****@clear*****
Fri May 16 16:45:11 JST 2014


susumu.yata	2014-05-16 16:45:11 +0900 (Fri, 16 May 2014)

  New Revision: e04d5b6147d2dae10320270ee4f3422c07997885
  https://github.com/mroonga/mroonga/commit/e04d5b6147d2dae10320270ee4f3422c07997885

  Message:
    Remove parentheses in if() to support cmake 2.6
    
    cmake 2.6 reported a parsing error as follows:
      Parse error.
      Function missing ending ")".
      Instead found left paren with text "(".
    
    Reported by Kentoku Shiba. Thanks!!!

  Modified files:
    CMakeLists.txt

  Modified: CMakeLists.txt (+2 -2)
===================================================================
--- CMakeLists.txt    2014-05-15 15:15:14 +0900 (3310a16)
+++ CMakeLists.txt    2014-05-16 16:45:11 +0900 (e44c47e)
@@ -182,8 +182,8 @@ else()
   set_mysql_config_value("--version" MYSQL_VERSION)
 endif()
 
-if((${MYSQL_VERSION} VERSION_GREATER "10.0.0") AND
-    (${MYSQL_VERSION} VERSION_LESS "10.0.9"))
+if(${MYSQL_VERSION} VERSION_GREATER "10.0.0" AND
+   ${MYSQL_VERSION} VERSION_LESS "10.0.9")
   message(FATAL_ERROR
     "Mroonga doesn't supports MariaDB 10.0.0-10.0.8: <${MYSQL_VERSION}>")
   return()
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-mysql-commit mailing list
Back to archive index