[Groonga-mysql-commit] mroonga/mroonga at b08f702 [master] Add checking MSVC version. refs #1964

Back to archive index

shibakentoku null+****@clear*****
Fri Dec 20 02:50:29 JST 2013


shibakentoku	2013-12-20 02:50:29 +0900 (Fri, 20 Dec 2013)

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

  Message:
    Add checking MSVC version. refs #1964

  Modified files:
    CMakeLists.txt

  Modified: CMakeLists.txt (+7 -0)
===================================================================
--- CMakeLists.txt    2013-12-20 02:16:06 +0900 (7d66135)
+++ CMakeLists.txt    2013-12-20 02:50:29 +0900 (d3d56f3)
@@ -20,6 +20,13 @@
 cmake_minimum_required(VERSION 2.6)
 project(mroonga)
 
+if(MSVC)
+  if(MSVC_VERSION LESS 1600)
+    message(STATUS "Mroonga supports from MSVC 2010")
+    return()
+  endif()
+endif()
+
 if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
   set(MRN_BUNDLED FALSE)
 else()
-------------- next part --------------
HTML����������������������������...
Descargar 



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