Navigation Menu

Skip to content

Commit

Permalink
cmake win32: add missing compile definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
kenhys committed Oct 11, 2012
1 parent f6f4475 commit 55827d2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Expand Up @@ -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})

Expand Down

0 comments on commit 55827d2

Please sign in to comment.