From 36e9b846916f3d7035b01cefb7dd3b71a9cb54f8 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Mon, 14 Feb 2022 15:43:11 +1100 Subject: [PATCH] CMake: [nfc] fix indentation in cmd/tools It is not clear to me why cmake-lint was not complaining about this. However, an upcoming commit exposes that this indentation was not compliant. --- cmd/tools/CMakeLists.txt | 96 ++++++++++++++++++++-------------------- 1 file changed, 48 insertions(+), 48 deletions(-) diff --git a/cmd/tools/CMakeLists.txt b/cmd/tools/CMakeLists.txt index 4432ea02d..f8ec075c8 100644 --- a/cmd/tools/CMakeLists.txt +++ b/cmd/tools/CMakeLists.txt @@ -153,31 +153,31 @@ install(TARGETS gv2gml RUNTIME DESTINATION ${BINARY_INSTALL_DIR}) # ================================= graphml2gv ================================= if(EXPAT_FOUND) -add_executable(graphml2gv - # Source files - graphml2gv.c -) + add_executable(graphml2gv + # Source files + graphml2gv.c + ) -target_include_directories(graphml2gv PRIVATE - ${GRAPHVIZ_LIB_DIR} - ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_CURRENT_BINARY_DIR} - ${GRAPHVIZ_LIB_DIR}/cdt - ${GRAPHVIZ_LIB_DIR}/cgraph - ${GRAPHVIZ_LIB_DIR}/common - ${GRAPHVIZ_LIB_DIR}/gvc - ${GRAPHVIZ_LIB_DIR}/pack - ${GRAPHVIZ_LIB_DIR}/pathplan - ${EXPAT_INCLUDE_DIRS} - ${GETOPT_INCLUDE_DIRS} -) + target_include_directories(graphml2gv PRIVATE + ${GRAPHVIZ_LIB_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${GRAPHVIZ_LIB_DIR}/cdt + ${GRAPHVIZ_LIB_DIR}/cgraph + ${GRAPHVIZ_LIB_DIR}/common + ${GRAPHVIZ_LIB_DIR}/gvc + ${GRAPHVIZ_LIB_DIR}/pack + ${GRAPHVIZ_LIB_DIR}/pathplan + ${EXPAT_INCLUDE_DIRS} + ${GETOPT_INCLUDE_DIRS} + ) -target_link_libraries(graphml2gv - cgraph - ${EXPAT_LIBRARIES} -) + target_link_libraries(graphml2gv + cgraph + ${EXPAT_LIBRARIES} + ) -tool_defaults(graphml2gv) + tool_defaults(graphml2gv) endif() @@ -275,35 +275,35 @@ tool_defaults(gvpack) # =================================== gxl2gv =================================== if(EXPAT_FOUND) -add_executable(gxl2gv - # Source files - cvtgxl.c - gv2gxl.c - gxl2gv.c -) + add_executable(gxl2gv + # Source files + cvtgxl.c + gv2gxl.c + gxl2gv.c + ) -target_include_directories(gxl2gv PRIVATE - ${GRAPHVIZ_LIB_DIR} - ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_CURRENT_BINARY_DIR} - ${GRAPHVIZ_LIB_DIR}/cdt - ${GRAPHVIZ_LIB_DIR}/cgraph - ${GRAPHVIZ_LIB_DIR}/common - ${GRAPHVIZ_LIB_DIR}/gvc - ${GRAPHVIZ_LIB_DIR}/pack - ${GRAPHVIZ_LIB_DIR}/pathplan - ${EXPAT_INCLUDE_DIRS} - ${GETOPT_INCLUDE_DIRS} -) + target_include_directories(gxl2gv PRIVATE + ${GRAPHVIZ_LIB_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${GRAPHVIZ_LIB_DIR}/cdt + ${GRAPHVIZ_LIB_DIR}/cgraph + ${GRAPHVIZ_LIB_DIR}/common + ${GRAPHVIZ_LIB_DIR}/gvc + ${GRAPHVIZ_LIB_DIR}/pack + ${GRAPHVIZ_LIB_DIR}/pathplan + ${EXPAT_INCLUDE_DIRS} + ${GETOPT_INCLUDE_DIRS} + ) -target_link_libraries(gxl2gv - cgraph - gvc - ingraphs - ${EXPAT_LIBRARIES} -) + target_link_libraries(gxl2gv + cgraph + gvc + ingraphs + ${EXPAT_LIBRARIES} + ) -tool_defaults(gxl2gv) + tool_defaults(gxl2gv) endif() -- 2.40.0