fluffychat: 1.22.1 -> 1.23.0 (#364091)
[NixPkgs.git] / pkgs / by-name / in / intiface-central / corrosion.patch
blobd8c8237aeba36066af55aa3623f86162ac8ea925
1 diff --git a/linux/rust.cmake b/linux/rust.cmake
2 index a96586c..f9b8677 100644
3 --- a/linux/rust.cmake
4 +++ b/linux/rust.cmake
5 @@ -2,17 +2,7 @@
6 # many dependencies we would need to install Corrosion on the system.
7 # See instructions on https://github.com/AndrewGaspar/corrosion#cmake-install
8 # Once done, uncomment this line:
9 -# find_package(Corrosion REQUIRED)
11 -include(FetchContent)
13 -FetchContent_Declare(
14 - Corrosion
15 - GIT_REPOSITORY https://github.com/AndrewGaspar/corrosion.git
16 - GIT_TAG origin/master # Optionally specify a version tag or branch here
19 -FetchContent_MakeAvailable(Corrosion)
20 +find_package(Corrosion REQUIRED)
22 corrosion_import_crate(MANIFEST_PATH ../intiface-engine-flutter-bridge/Cargo.toml)