[Groonga-commit] groonga/groonga at b499eb5 [master] cmake: ensure clearing not found variable

Back to archive index
Kouhei Sutou null+****@clear*****
Sun Mar 24 17:32:43 JST 2019


Kouhei Sutou	2019-03-24 17:32:43 +0900 (Sun, 24 Mar 2019)

  Revision: b499eb5beb27a974a3c61e77aea36d10e2822b44
  https://github.com/groonga/groonga/commit/b499eb5beb27a974a3c61e77aea36d10e2822b44

  Message:
    cmake: ensure clearing not found variable

  Modified files:
    CMakeLists.txt

  Modified: CMakeLists.txt (+2 -0)
===================================================================
--- CMakeLists.txt    2019-03-24 05:54:09 +0900 (10539ba26)
+++ CMakeLists.txt    2019-03-24 17:32:43 +0900 (a2fef62ef)
@@ -478,6 +478,7 @@ if(NOT ${GRN_WITH_MECAB} STREQUAL "no")
 	  "include directories: <${MECAB_INCLUDE_DIRS}>, "
 	  "library directories: <${MECAB_LIBRARY_DIRS}>")
       endif()
+      set(MECAB_LIBRARIES "")
       set(GRN_WITH_MECAB FALSE)
       message(STATUS "No MeCab: ${MECAB_LIBRARY_DIRS}")
     endif()
@@ -655,6 +656,7 @@ if(NOT ${GRN_WITH_MESSAGE_PACK} STREQUAL "no")
 	if(${GRN_WITH_MESSAGE_PACK} STREQUAL "yes")
 	  message(FATAL_ERROR "No MessagePack found")
 	endif()
+	set(MESSAGE_PACK_LIBS "")
 	set(GRN_WITH_MESSAGE_PACK FALSE)
 	message(STATUS "No MessagePack")
       endif()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20190324/e5356018/attachment.html>


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