43 lines
1.3 KiB
CMake
43 lines
1.3 KiB
CMake
# generated from ament/cmake/core/templates/nameConfig.cmake.in
|
|
|
|
# prevent multiple inclusion
|
|
if(_pcdmap2pgm_CONFIG_INCLUDED)
|
|
# ensure to keep the found flag the same
|
|
if(NOT DEFINED pcdmap2pgm_FOUND)
|
|
# explicitly set it to FALSE, otherwise CMake will set it to TRUE
|
|
set(pcdmap2pgm_FOUND FALSE)
|
|
elseif(NOT pcdmap2pgm_FOUND)
|
|
# use separate condition to avoid uninitialized variable warning
|
|
set(pcdmap2pgm_FOUND FALSE)
|
|
endif()
|
|
return()
|
|
endif()
|
|
set(_pcdmap2pgm_CONFIG_INCLUDED TRUE)
|
|
|
|
# output package information
|
|
if(NOT pcdmap2pgm_FIND_QUIETLY)
|
|
message(STATUS "Found pcdmap2pgm: 0.0.0 (${pcdmap2pgm_DIR})")
|
|
endif()
|
|
|
|
# warn when using a deprecated package
|
|
if(NOT "" STREQUAL "")
|
|
set(_msg "Package 'pcdmap2pgm' is deprecated")
|
|
# append custom deprecation text if available
|
|
if(NOT "" STREQUAL "TRUE")
|
|
set(_msg "${_msg} ()")
|
|
endif()
|
|
# optionally quiet the deprecation message
|
|
if(NOT ${pcdmap2pgm_DEPRECATED_QUIET})
|
|
message(DEPRECATION "${_msg}")
|
|
endif()
|
|
endif()
|
|
|
|
# flag package as ament-based to distinguish it after being find_package()-ed
|
|
set(pcdmap2pgm_FOUND_AMENT_PACKAGE TRUE)
|
|
|
|
# include all config extra files
|
|
set(_extras "ament_cmake_export_dependencies-extras.cmake")
|
|
foreach(_extra ${_extras})
|
|
include("${pcdmap2pgm_DIR}/${_extra}")
|
|
endforeach()
|