[Groonga-mysql-commit] mroonga/mroonga [master] cmake win32: add missing compile flags

Back to archive index

HAYASHI Kentaro null+****@clear*****
Thu Oct 18 15:56:59 JST 2012


HAYASHI Kentaro	2012-10-18 15:56:59 +0900 (Thu, 18 Oct 2012)

  New Revision: 08400a00f7930ced18cad4b5bfdca4866c1c1ae3
  https://github.com/mroonga/mroonga/commit/08400a00f7930ced18cad4b5bfdca4866c1c1ae3

  Log:
    cmake win32: add missing compile flags

  Modified files:
    CMakeLists.txt

  Modified: CMakeLists.txt (+8 -2)
===================================================================
--- CMakeLists.txt    2012-10-16 13:19:59 +0900 (d0db9d6)
+++ CMakeLists.txt    2012-10-18 15:56:59 +0900 (db22b97)
@@ -113,8 +113,14 @@ if(WIN32)
 #       it is better that you can customize this definition.
 # TODO: support security enhancements introduced in the CRT.
 #       http://msdn.microsoft.com/en-us/library/8ef0s5kh%28v=vs.90%29.aspx
-  set_property(TARGET ha_mroonga APPEND PROPERTY
-    COMPILE_DEFINITIONS "__WIN__" "DBUG_OFF" "_CRT_SECURE_NO_WARNINGS")
+  set_property(TARGET ha_mroonga APPEND PROPERTY COMPILE_DEFINITIONS
+    "__WIN__"
+    "DBUG_OFF"
+    "_CRT_SECURE_NO_WARNINGS"
+    "_WIN32_WINNT=0x0501"
+    "WIN32_LEAN_AND_MEAN"
+  )
+  
 endif()
 
 if(WIN32)
-------------- next part --------------
HTML����������������������������...
Download 



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