update to tf3
This commit is contained in:
@@ -11,17 +11,17 @@ find_package(Eigen3 REQUIRED)
|
||||
find_package(GTest REQUIRED)
|
||||
|
||||
# Add subdirectories for message dependencies
|
||||
if (NOT TARGET sensor_msgs)
|
||||
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../common_msgs/sensor_msgs ${CMAKE_BINARY_DIR}/sensor_msgs_build)
|
||||
endif()
|
||||
# if (NOT TARGET sensor_msgs)
|
||||
# add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../common_msgs/sensor_msgs ${CMAKE_BINARY_DIR}/sensor_msgs_build)
|
||||
# endif()
|
||||
|
||||
if (NOT TARGET geometry_msgs)
|
||||
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../common_msgs/geometry_msgs ${CMAKE_BINARY_DIR}/geometry_msgs_build)
|
||||
endif()
|
||||
# if (NOT TARGET geometry_msgs)
|
||||
# add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../common_msgs/geometry_msgs ${CMAKE_BINARY_DIR}/geometry_msgs_build)
|
||||
# endif()
|
||||
|
||||
if (NOT TARGET robot_time)
|
||||
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../robot_time ${CMAKE_BINARY_DIR}/robot_time_build)
|
||||
endif()
|
||||
# if (NOT TARGET robot_time)
|
||||
# add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../robot_time ${CMAKE_BINARY_DIR}/robot_time_build)
|
||||
# endif()
|
||||
|
||||
# Include directories
|
||||
include_directories(
|
||||
@@ -43,7 +43,7 @@ target_link_libraries(laser_geometry PUBLIC
|
||||
sensor_msgs
|
||||
geometry_msgs
|
||||
robot_time
|
||||
tf2
|
||||
tf3
|
||||
)
|
||||
|
||||
if(TARGET Eigen3::Eigen)
|
||||
@@ -59,7 +59,7 @@ target_compile_definitions(laser_geometry PRIVATE "LASER_GEOMETRY_BUILDING_LIBRA
|
||||
# Install targets
|
||||
install(
|
||||
TARGETS laser_geometry
|
||||
EXPORT laser_geometry
|
||||
# EXPORT laser_geometry
|
||||
ARCHIVE DESTINATION lib
|
||||
LIBRARY DESTINATION lib
|
||||
RUNTIME DESTINATION bin
|
||||
|
||||
Reference in New Issue
Block a user