Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 9, 2024
1 parent 2f6ccb9 commit 46cf942
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand All @@ -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)
Expand All @@ -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
Expand Down

0 comments on commit 46cf942

Please sign in to comment.