[Groonga-commit] groonga/groonga at d5ed1bb [master] cmake: use target name

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Oct 18 13:09:10 JST 2015


Kouhei Sutou	2015-10-18 13:09:10 +0900 (Sun, 18 Oct 2015)

  New Revision: d5ed1bb7176bba462135245838846c1c3a6b64a0
  https://github.com/groonga/groonga/commit/d5ed1bb7176bba462135245838846c1c3a6b64a0

  Message:
    cmake: use target name

  Modified files:
    vendor/mecab/CMakeLists.txt

  Modified: vendor/mecab/CMakeLists.txt (+1 -6)
===================================================================
--- vendor/mecab/CMakeLists.txt    2015-10-18 12:58:57 +0900 (da06ae0)
+++ vendor/mecab/CMakeLists.txt    2015-10-18 13:09:10 +0900 (bac1e06)
@@ -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"
-------------- next part --------------
HTML����������������������������...
Download 



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