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

Back to archive index

HAYASHI Kentaro null+****@clear*****
Thu Oct 11 17:23:04 JST 2012


HAYASHI Kentaro	2012-10-11 17:23:04 +0900 (Thu, 11 Oct 2012)

  New Revision: 55827d27e316a57851392fb42e9883523e50dbcd
  https://github.com/mroonga/mroonga/commit/55827d27e316a57851392fb42e9883523e50dbcd

  Log:
    cmake win32: add missing compile definitions

  Modified files:
    CMakeLists.txt

  Modified: CMakeLists.txt (+4 -0)
===================================================================
--- CMakeLists.txt    2012-10-05 23:48:54 +0900 (df8ac90)
+++ CMakeLists.txt    2012-10-11 17:23:04 +0900 (0daa5d1)
@@ -101,6 +101,10 @@ set_target_properties(ha_mroonga PROPERTIES
 set(DEFAULT_PARSER "TokenBigram" CACHE STRING "The default fulltext parser")
 set_property(TARGET ha_mroonga APPEND PROPERTY
   COMPILE_DEFINITIONS "MRN_PARSER_DEFAULT=\"${DEFAULT_PARSER}\"")
+if(WIN32)
+  set_property(TARGET ha_mroonga APPEND PROPERTY
+    COMPILE_DEFINITIONS "DBUG_OFF" "_CRT_SECURE_NO_WARNINGS")
+endif()
 
 target_link_libraries(ha_mroonga ${GROONGA_LIBRARIES})
 
-------------- next part --------------
HTML����������������������������...
Download 



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