Skip to content

Commit

Permalink
[js] make dependency on media plug-in optional
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Jan 17, 2024
1 parent a2ac90c commit 6daab83
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/plugins/score-plugin-js/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ target_link_libraries(${PROJECT_NAME} PUBLIC
score_plugin_deviceexplorer score_plugin_protocols
score_plugin_media)

if(TARGET score_plugin_media)
target_link_libraries(${PROJECT_NAME} PUBLIC score_plugin_media)
endif()

set_target_properties(${PROJECT_NAME} PROPERTIES AUTOMOC 1)

if(TARGET "${QT_PREFIX}::Quick" AND TARGET score_plugin_gfx AND ${Qt6_VERSION} VERSION_GREATER_EQUAL 6.5.0)
Expand Down

0 comments on commit 6daab83

Please sign in to comment.