|
# generated from ament/cmake/core/templates/nameConfig.cmake.in
|
|
|
|
# prevent multiple inclusion
|
|
if(_turtle_interfaces_CONFIG_INCLUDED)
|
|
# ensure to keep the found flag the same
|
|
if(NOT DEFINED turtle_interfaces_FOUND)
|
|
# explicitly set it to FALSE, otherwise CMake will set it to TRUE
|
|
set(turtle_interfaces_FOUND FALSE)
|
|
elseif(NOT turtle_interfaces_FOUND)
|
|
# use separate condition to avoid uninitialized variable warning
|
|
set(turtle_interfaces_FOUND FALSE)
|
|
endif()
|
|
return()
|
|
endif()
|
|
set(_turtle_interfaces_CONFIG_INCLUDED TRUE)
|
|
|
|
# output package information
|
|
if(NOT turtle_interfaces_FIND_QUIETLY)
|
|
message(STATUS "Found turtle_interfaces: 0.0.0 (${turtle_interfaces_DIR})")
|
|
endif()
|
|
|
|
# warn when using a deprecated package
|
|
if(NOT "" STREQUAL "")
|
|
set(_msg "Package 'turtle_interfaces' is deprecated")
|
|
# append custom deprecation text if available
|
|
if(NOT "" STREQUAL "TRUE")
|
|
set(_msg "${_msg} ()")
|
|
endif()
|
|
# optionally quiet the deprecation message
|
|
if(NOT ${turtle_interfaces_DEPRECATED_QUIET})
|
|
message(DEPRECATION "${_msg}")
|
|
endif()
|
|
endif()
|
|
|
|
# flag package as ament-based to distinguish it after being find_package()-ed
|
|
set(turtle_interfaces_FOUND_AMENT_PACKAGE TRUE)
|
|
|
|
# include all config extra files
|
|
set(_extras "rosidl_cmake-extras.cmake;ament_cmake_export_dependencies-extras.cmake;ament_cmake_export_libraries-extras.cmake;ament_cmake_export_targets-extras.cmake;ament_cmake_export_include_directories-extras.cmake;rosidl_cmake_export_typesupport_libraries-extras.cmake;rosidl_cmake_export_typesupport_targets-extras.cmake")
|
|
foreach(_extra ${_extras})
|
|
include("${turtle_interfaces_DIR}/${_extra}")
|
|
endforeach()
|