<commit_before>###############################################################################
#
# CMake module for finding eProsima FastRTPS.
#
# Input variables:
#
# - FASTRTPSHOME (optional): When specified, header files and libraries
#   will be searched for in `${FASTRTPSHOME}/include`
#   and `${FASTRTPSHOME}/lib` respectively.
#
# Output variables:
#
# - FastRTPS_FOUND: flag indicating if the package was found
# - FastRTPS_INCLUDE_DIR: Paths to the header files
# - FastRTPS_HOME: Root directory for the eProsima FastRTPS install. Might be not set.
# - FastRTPS_LIBRARIES: Name to the C++ libraries including the path
# - FastRTPS_LIBRARY_DIRS: Paths to the libraries
# - FastRTPS_LIBRARY_DIR: Path to libraries; guaranteed to be a single path
# - FastRTPS_DEFINITIONS: Definitions to be passed on
#
# Example usage:
#
#   find_package(fastrtps_cmake_module REQUIRED)
#   find_package(FastRTPS MODULE)
#   # use FastRTPS_* variables
#
###############################################################################

set(FastRTPS_FOUND FALSE)

# -----------------------------------------
# Detect environment variable
# -----------------------------------------
if($ENV{FASTRPCHOME})
    set(FastRTPS_HOME $ENV{FASTRPCHOME})
endif()

# -----------------------------------------
# Search for eProsima FastRTPS include DIR
# -----------------------------------------
set(_fastrtps_INCLUDE_SEARCH_DIRS "")

if(FastRTPS_HOME)
    list(APPEND _fastrtps_INCLUDE_SEARCH_DIRS ${FastRTPS_HOME}/include)
endif()

find_path(FastRTPS_INCLUDE_DIR
    NAMES fastrtps/<commit_msg>fix CMake syntax<commit_after>###############################################################################
#
# CMake module for finding eProsima FastRTPS.
#
# Input variables:
#
# - FASTRTPSHOME (optional): When specified, header files and libraries
#   will be searched for in `${FASTRTPSHOME}/include`
#   and `${FASTRTPSHOME}/lib` respectively.
#
# Output variables:
#
# - FastRTPS_FOUND: flag indicating if the package was found
# - FastRTPS_INCLUDE_DIR: Paths to the header files
# - FastRTPS_HOME: Root directory for the eProsima FastRTPS install. Might be not set.
# - FastRTPS_LIBRARIES: Name to the C++ libraries including the path
# - FastRTPS_LIBRARY_DIRS: Paths to the libraries
# - FastRTPS_LIBRARY_DIR: Path to libraries; guaranteed to be a single path
# - FastRTPS_DEFINITIONS: Definitions to be passed on
#
# Example usage:
#
#   find_package(fastrtps_cmake_module REQUIRED)
#   find_package(FastRTPS MODULE)
#   # use FastRTPS_* variables
#
###############################################################################

set(FastRTPS_FOUND FALSE)

# -----------------------------------------
# Detect environment variable
# -----------------------------------------
if($ENV{FASTRPCHOME})
    set(FastRTPS_HOME $ENV{FASTRPCHOME})
endif()

# -----------------------------------------
# Search for eProsima FastRTPS include DIR
# -----------------------------------------
set(_fastrtps_INCLUDE_SEARCH_DIRS "")

if(FastRTPS_HOME)
    list(APPEND _fastrtps_INCLUDE_SEARCH_DIRS ${FastRTPS_HOME}/include)
endif()

find_path(FastRTPS_INCLUDE_DIR
    NAMES fastrtps/)
{'fraction_non_alphanumeric': 0.2748890298034242, 'fraction_numerical': 0.0, 'mean_word_length': 3.2577597840755734, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1457740', 'n_tokens_mistral': 980, 'n_tokens_neox': 903, 'n_words': 235}