use ament_export_targets() instead of deprecated ament_export_interfaces()

Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
This commit is contained in:
Dirk Thomas 2020-04-08 22:31:18 +00:00 committed by Christophe Bedard
parent e69c0cd505
commit 57298502c6

View file

@ -92,7 +92,7 @@ target_include_directories(${PROJECT_NAME} PUBLIC
"$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/include>" "$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/include>"
"$<INSTALL_INTERFACE:include>" "$<INSTALL_INTERFACE:include>"
) )
ament_export_interfaces(${PROJECT_NAME}_export HAS_LIBRARY_TARGET) ament_export_targets(${PROJECT_NAME}_export HAS_LIBRARY_TARGET)
# Status checking tool # Status checking tool
add_executable(status add_executable(status