From b77cf759fc8815f4ffd628be30b1bfe7d5bec16f Mon Sep 17 00:00:00 2001 From: Christophe Bedard Date: Tue, 3 Mar 2020 14:22:35 -0800 Subject: [PATCH] Fix formatting in CMakeLists.txt Signed-off-by: Christophe Bedard --- tracetools/CMakeLists.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tracetools/CMakeLists.txt b/tracetools/CMakeLists.txt index 5e86bca..0ac40da 100644 --- a/tracetools/CMakeLists.txt +++ b/tracetools/CMakeLists.txt @@ -77,10 +77,9 @@ if(TRACETOOLS_LTTNG_ENABLED) target_link_libraries(${PROJECT_NAME} ${LTTNG_LIBRARIES}) endif() if(WIN32) - # Causes the visibility macros to use dllexport rather than dllimport - # which is appropriate when building the dll but not consuming it. - target_compile_definitions(${PROJECT_NAME} - PRIVATE "TRACETOOLS_BUILDING_DLL") + # Causes the visibility macros to use dllexport rather than dllimport + # which is appropriate when building the dll but not consuming it. + target_compile_definitions(${PROJECT_NAME} PRIVATE "TRACETOOLS_BUILDING_DLL") endif() ament_export_interfaces(${PROJECT_NAME}_export HAS_LIBRARY_TARGET)