File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ set (target_name example_plugin)
2424set (target_version "1.0.0" )
2525
2626yup_add_embedded_binary_resources (
27- BinaryData
27+ " ${target_name} _binary_data"
2828 OUT_DIR BinaryData
2929 HEADER BinaryData.h
3030 NAMESPACE yup
@@ -36,6 +36,7 @@ yup_add_embedded_binary_resources (
3636
3737yup_audio_plugin (
3838 TARGET_NAME ${target_name}
39+ TARGET_VERSION ${target_version}
3940 TARGET_IDE_GROUP "Examples"
4041 TARGET_APP_ID "org.yup.${target_name} "
4142 TARGET_APP_NAMESPACE "org.yup.${target_name} "
@@ -61,7 +62,7 @@ yup_audio_plugin (
6162 sheenbidi
6263 rive
6364 rive_renderer
64- BinaryData
65+ " ${target_name} _binary_data"
6566)
6667
6768# ==== Prepare sources
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ if (ANDROID AND NOT YUP_TARGET_ANDROID_BUILD_GRADLE)
3737 _yup_add_default_modules ("${CMAKE_CURRENT_LIST_DIR} /../.." )
3838
3939 yup_add_embedded_binary_resources (
40- BinaryData
40+ " ${target_name} _binary_data"
4141 OUT_DIR BinaryData
4242 HEADER BinaryData.h
4343 NAMESPACE yup
@@ -46,7 +46,7 @@ if (ANDROID AND NOT YUP_TARGET_ANDROID_BUILD_GRADLE)
4646 RESOURCES
4747 ${CMAKE_CURRENT_LIST_DIR} /data/alien.riv
4848 )
49- set (link_libraries BinaryData )
49+ set (link_libraries " ${target_name} _binary_data" )
5050endif ()
5151
5252# ==== Prepare target
You can’t perform that action at this time.
0 commit comments