Navigation Menu

Skip to content

Commit

Permalink
cmake: work DEFAULT_PARSER again
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 16, 2012
1 parent c81f095 commit b717971
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Expand Up @@ -89,6 +89,8 @@ set_target_properties(ha_mroonga PROPERTIES
COMPILE_DEFINITIONS "MYSQL_DYNAMIC_PLUGIN"
PREFIX ""
OUTPUT_NAME "ha_mroonga")

set(DEFAULT_PARSER "TokenBigram" CACHE STRING "The default fulltext parser")
set_property(TARGET ha_mroonga APPEND PROPERTY
COMPILE_DEFINITIONS "MRN_PARSER_DEFAULT=\"${DEFAULT_PARSER}\"")

Expand All @@ -112,8 +114,6 @@ if(DISABLE_FAST_MUTEXES)
COMPILE_DEFINITIONS "FORCE_FAST_MUTEX_DISABLED=1")
endif()

set(DEFAULT_PARSER "TokenBigram" CACHE STRING "The default fulltext parser")

install(TARGETS ha_mroonga DESTINATION "${MYSQL_PLUGIN_DIR}")

configure_file(
Expand Down

0 comments on commit b717971

Please sign in to comment.