Skip to content

Commit

Permalink
Attempt to revert problematic change
Browse files Browse the repository at this point in the history
Partially reverting previous commit
  • Loading branch information
Cuperino committed Apr 17, 2024
1 parent e4662c0 commit 31fab6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/statemachineviewer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ if(NOT GAMMARAY_CLIENT_ONLY_BUILD)
if(TARGET Qt::Scxml)
target_link_libraries(gammaray_statemachineviewer_plugin Qt::Scxml Qt::ScxmlPrivate)
endif()
if(QT_VERSION_MAJOR EQUAL 6 AND TARGET Qt6::StateMachine)
if(TARGET Qt6::StateMachine)
target_link_libraries(gammaray_statemachineviewer_plugin Qt6::StateMachine Qt6::StateMachinePrivate)
endif()
endif()
Expand Down Expand Up @@ -83,7 +83,7 @@ if(GAMMARAY_BUILD_UI AND GAMMARAY_WITH_KDSME)
gammaray_ui
)

if(QT_VERSION_MAJOR EQUAL 6 AND TARGET Qt6::StateMachine)
if(TARGET Qt6::StateMachine)
target_link_libraries(gammaray_statemachineviewer_ui_plugin Qt6::StateMachine)
endif()
endif()

0 comments on commit 31fab6e

Please sign in to comment.