Make build export symbols

This commit is contained in:
Martin Idel 2018-03-27 09:20:47 +02:00
parent b23632b018
commit e852926c02

View File

@ -30,6 +30,10 @@ target_link_libraries(laser_geometry
${tf2_LIBRARIES}
)
# Causes the visibility macros to use dllexport rather than dllimport,
# which is appropriate when building the dll but not consuming it.
target_compile_definitions(laser_geometry PRIVATE "LASER_GEOMETRY_BUILDING_LIBRARY")
ament_export_include_directories(include)
ament_export_interfaces(laser_geometry)
ament_export_libraries(laser_geometry)