<commit_before>find_package(PkgConfig)
if (PKG_CONFIG_FOUND)
  pkg_search_module(PC_MSGPACK QUIET
      msgpackc>=${Msgpack_FIND_VERSION}
      msgpack>=${Msgpack_FIND_VERSION})
endif()

find_path(MSGPACK_INCLUDE_DIR msgpack.h
  HINTS ${SHARED_MSGPACK_INCLUDEDIR} ${SHARED_MSGPACK_INCLUDE_DIRS}
  ${LIMIT_SEARCH})
  
list(APPEND MSGPACK_NAMES msgpackc msgpack)

find_library(MSGPACK_LIBRARY NAMES ${MSGPACK_NAMES}
  HINTS ${SHARED_MSGPACK_LIBDIR} ${SHARED_MSGPACK_LIBRARY_DIRS}
  ${LIMIT_SEARCH})

mark_as_advanced(MSGPACK_INCLUDE_DIR MSGPACK_LIBRARY)

set(MSGPACK_LIBRARIES ${MSGPACK_LIBRARY})
set(MSGPACK_INCLUDE_DIRS ${MSGPACK_INCLUDE_DIR})<commit_msg> Fix typo in FindMSGPACK.cmake<commit_after>find_package(PkgConfig)
if (PKG_CONFIG_FOUND)
  pkg_search_module(SHARED_MSGPACK QUIET
      msgpackc>=${Msgpack_FIND_VERSION}
      msgpack>=${Msgpack_FIND_VERSION})
endif()

find_path(MSGPACK_INCLUDE_DIR msgpack.h
  HINTS ${SHARED_MSGPACK_INCLUDEDIR} ${SHARED_MSGPACK_INCLUDE_DIRS}
  ${LIMIT_SEARCH})
  
list(APPEND MSGPACK_NAMES msgpackc msgpack)

find_library(MSGPACK_LIBRARY NAMES ${MSGPACK_NAMES}
  HINTS ${SHARED_MSGPACK_LIBDIR} ${SHARED_MSGPACK_LIBRARY_DIRS}
  ${LIMIT_SEARCH})

mark_as_advanced(MSGPACK_INCLUDE_DIR MSGPACK_LIBRARY)

set(MSGPACK_LIBRARIES ${MSGPACK_LIBRARY})
set(MSGPACK_INCLUDE_DIRS ${MSGPACK_INCLUDE_DIR})
{'fraction_non_alphanumeric': 0.09241172051089407, 'fraction_numerical': 0.0, 'mean_word_length': 9.571428571428571, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5288817', 'n_tokens_mistral': 572, 'n_tokens_neox': 566, 'n_words': 65}