Fix Windows Flutter build issues

This commit is contained in:
kimmy.zip 2025-02-09 20:11:47 +00:00 committed by Christien Rioux
parent 203b2ada32
commit 90af5a2ba7

View File

@ -9,7 +9,7 @@ include(FetchContent)
FetchContent_Declare(
Corrosion
GIT_REPOSITORY https://github.com/AndrewGaspar/corrosion.git
GIT_TAG v0.4.4 # Optionally specify a version tag or branch here
GIT_TAG v0.4.10 # Optionally specify a version tag or branch here
)
FetchContent_MakeAvailable(Corrosion)
@ -27,6 +27,6 @@ corrosion_import_crate(MANIFEST_PATH ${repository_root}/../veilid/Cargo.toml CRA
# Flutter-specific
set(CRATE_NAME "veilid-flutter")
set(CRATE_NAME "veilid_flutter")
target_link_libraries(${PLUGIN_NAME} PUBLIC ${CRATE_NAME})
# list(APPEND PLUGIN_BUNDLED_LIBRARIES $<TARGET_FILE:${CRATE_NAME}-shared>)