Kouhei Sutou
null+****@clear*****
Thu Apr 5 17:52:28 JST 2018
Kouhei Sutou 2018-04-05 17:52:28 +0900 (Thu, 05 Apr 2018) New Revision: 3ea00f8f4bde8ccbcfc1f3e6b1eb4c090609e0d6 https://github.com/groonga/groonga/commit/3ea00f8f4bde8ccbcfc1f3e6b1eb4c090609e0d6 Message: cmake: fix no pkg-config based MessagePack detection Modified files: CMakeLists.txt Modified: CMakeLists.txt (+3 -2) =================================================================== --- CMakeLists.txt 2018-04-05 15:59:43 +0900 (237e898a7) +++ CMakeLists.txt 2018-04-05 17:52:28 +0900 (2b0f77945) @@ -601,9 +601,10 @@ if(NOT ${GRN_WITH_MESSAGE_PACK} STREQUAL "no") set(MESSAGE_PACK_LIBRARY_DIRS "${GRN_WITH_MESSAGE_PACK}/lib") endif() set(CMAKE_REQUIRED_INCLUDES_SAVE ${CMAKE_REQUIRED_INCLUDES}) - ac_check_lib(msgpack msgpack_version "${MESSAGE_PACK_LIBRARY_DIRS}") + ac_check_lib(msgpackc msgpack_version "${MESSAGE_PACK_LIBRARY_DIRS}") set(CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES_SAVE}) - if(HAVE_LIBMSGPACK) + if(HAVE_LIBMSGPACKC) + set(MESSAGE_PACK_LIBS msgpackc) set(GRN_WITH_MESSAGE_PACK TRUE) else() if(${GRN_WITH_MESSAGE_PACK} STREQUAL "yes") -------------- next part -------------- HTML����������������������������... URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180405/ce0f98df/attachment.htm