21 lines
601 B
CMake
21 lines
601 B
CMake
# robot_cppConfig.cmake
|
|
# CMake configuration file for robot_cpp package
|
|
|
|
# Get the directory containing this file
|
|
get_filename_component(robot_cpp_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
|
|
|
# Include the targets file
|
|
include("${robot_cpp_CMAKE_DIR}/robot_cpp-targets.cmake")
|
|
|
|
# Set variables for compatibility
|
|
set(robot_cpp_FOUND TRUE)
|
|
set(robot_cpp_INCLUDE_DIRS "@CMAKE_INSTALL_PREFIX@/include")
|
|
set(robot_cpp_LIBRARIES robot_cpp)
|
|
|
|
# Check if all required components are available
|
|
if(NOT TARGET robot_cpp)
|
|
set(robot_cpp_FOUND FALSE)
|
|
message(FATAL_ERROR "robot_cpp target not found")
|
|
endif()
|
|
|