Merge branch 'format-cmakelists' into 'master'
Fix formatting in CMakeLists.txt See merge request micro-ROS/ros_tracing/ros2_tracing!149
This commit is contained in:
commit
b88c023ffe
1 changed files with 3 additions and 4 deletions
|
@ -77,10 +77,9 @@ if(TRACETOOLS_LTTNG_ENABLED)
|
||||||
target_link_libraries(${PROJECT_NAME} ${LTTNG_LIBRARIES})
|
target_link_libraries(${PROJECT_NAME} ${LTTNG_LIBRARIES})
|
||||||
endif()
|
endif()
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
# Causes the visibility macros to use dllexport rather than dllimport
|
# Causes the visibility macros to use dllexport rather than dllimport
|
||||||
# which is appropriate when building the dll but not consuming it.
|
# which is appropriate when building the dll but not consuming it.
|
||||||
target_compile_definitions(${PROJECT_NAME}
|
target_compile_definitions(${PROJECT_NAME} PRIVATE "TRACETOOLS_BUILDING_DLL")
|
||||||
PRIVATE "TRACETOOLS_BUILDING_DLL")
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
ament_export_interfaces(${PROJECT_NAME}_export HAS_LIBRARY_TARGET)
|
ament_export_interfaces(${PROJECT_NAME}_export HAS_LIBRARY_TARGET)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue