From 46cf94202adcb2215ff5ee26aea3f71179aa4e8b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 9 Dec 2024 16:45:52 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/core/CMakeLists.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 9d1528f..6cfee03 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -89,7 +89,7 @@ if(BUILD_QT6) target_link_libraries(kdstatemachineeditor_core PRIVATE Qt6::StateMachine) endif() -if (NOT WITH_INTERNAL_GRAPHVIZ) +if(NOT WITH_INTERNAL_GRAPHVIZ) target_include_directories(kdstatemachineeditor_core PRIVATE ${GRAPHVIZ_INCLUDE_DIR}) endif() @@ -114,7 +114,6 @@ endif() generate_export_header(kdstatemachineeditor_core EXPORT_FILE_NAME kdsme_core_export.h BASE_NAME KDSME_CORE) - if(WITH_INTERNAL_GRAPHVIZ) set(GRAPHVIZ_GVC_LIBRARY gvc) set(GRAPHVIZ_CGRAPH_LIBRARY cgraph) @@ -124,7 +123,10 @@ if(WITH_INTERNAL_GRAPHVIZ) endif() if(GRAPHVIZ_FOUND) - target_link_libraries(kdstatemachineeditor_core PRIVATE ${GRAPHVIZ_CGRAPH_LIBRARY} ${GRAPHVIZ_GVC_LIBRARY} ${GRAPHVIZ_PLUGIN_DOT_LAYOUT_LIBRARY}) + target_link_libraries( + kdstatemachineeditor_core PRIVATE ${GRAPHVIZ_CGRAPH_LIBRARY} ${GRAPHVIZ_GVC_LIBRARY} + ${GRAPHVIZ_PLUGIN_DOT_LAYOUT_LIBRARY} + ) endif() set(build_iface_dirs