<commit_before># - Find xdg
# Find the xdg library
#
#  This module defines the following variables:
#     XDG_FOUND   - true if the library was found.
#     XDG_INCLUDE_DIR - where to find xdg.h.
#     XDG_LIBRARY - libxdg.
#
# Copyright (C) 2012  <NAME> <<EMAIL>>
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file COPYING-CMAKE-SCRIPTS for details.
#
# This software is distributed WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the License for more information.

find_path(XDG_INCLUDE_DIR
          NAMES "basedir.h"
          PATH_SUFFIXES "xdg"
          DOC "The XDG include directory"
)

find_library(XDG_LIBRARY NAMES xdg-basedir)

# handle the QUIETLY and REQUIRED arguments and set XDG_FOUND to TRUE if all listed variables are TRUE
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(XDG DEFAULT_MSG XDG_INCLUDE_DIR XDG_LIBRARY)

mark_as_advanced(XDG_INCLUDE_DIR XDG_LIBRARY)<commit_msg>Fix FindXDG.cmake too<commit_after># - Find xdg
# Find the xdg library
#
#  This module defines the following variables:
#     XDG_FOUND   - true if the library was found.
#     XDG_INCLUDE_DIR - where to find xdg.h.
#     XDG_LIBRARY - libxdg.
#
# Copyright (C) 2012  <NAME> <<EMAIL>>
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file COPYING-CMAKE-SCRIPTS for details.
#
# This software is distributed WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the License for more information.

find_path(XDG_INCLUDE_DIR
          NAMES "basedir.h"
          PATH_SUFFIXES "xdg"
          DOC "The XDG include directory"
)

find_library(XDG_LIBRARY NAMES xdg-basedir)

# handle the QUIETLY and REQUIRED arguments and set XDG_FOUND to TRUE if all listed variables are TRUE
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(
	XDG
	REQUIRED_VARS XDG_LIBRARY XDG_INCLUDE_DIR)

mark_as_advanced(XDG_INCLUDE_DIR XDG_LIBRARY)
{'fraction_non_alphanumeric': 0.06487265737626141, 'fraction_numerical': 0.0038443056222969728, 'mean_word_length': 4.244332493702771, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '7205617', 'n_tokens_mistral': 737, 'n_tokens_neox': 655, 'n_words': 220}