Navigation Menu

Skip to content

Commit

Permalink
cmake: use target name
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 18, 2015
1 parent 9a694fd commit d5ed1bb
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions vendor/mecab/CMakeLists.txt
Expand Up @@ -180,14 +180,9 @@ if(GRN_WITH_BUNDLED_MECAB)
"${CMAKE_CURRENT_BINARY_DIR}/char.bin"
"${CMAKE_CURRENT_BINARY_DIR}/sys.dic"
"${CMAKE_CURRENT_BINARY_DIR}/unk.dic")
if("${CMAKE_BUILD_TYPE}" STREQUAL "None")
set(MECAB_DICT_INDEX_PATH "mecab-dict-index${CMAKE_EXECUTABLE_SUFFIX}")
else()
set(MECAB_DICT_INDEX_PATH "${CMAKE_BUILD_TYPE}/mecab-dict-index${CMAKE_EXECUTABLE_SUFFIX}")
endif()
add_custom_command(OUTPUT ${MECAB_NAIST_JDIC_BUILD_DATA}
COMMAND
"${MECAB_DICT_INDEX_PATH}"
mecab-dict-index
"--dicdir" "${MECAB_NAIST_JDIC_SOURCE_DIR}"
"--outdir" "${CMAKE_CURRENT_BINARY_DIR}"
"--dictionary-charset" "EUC-JP"
Expand Down

0 comments on commit d5ed1bb

Please sign in to comment.