You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`corrosion_import_crate()` was called with the `CRATES` parameter set to `my-cratePROFILErelease`.
Corrosion will only attempt to import packages matching names from this list.
It looks like the issue is with passing PROFILE argument to _generator_add_cargo_targets which does not seem to take such argument:
jschwe
changed the title
corrosion_import_crate: issue with PROFILE argument
corrosion_import_crate: issue with PROFILE argument in combination with CRATES
Apr 3, 2024
I'm trying to invoke import like so:
corrosion_import_crate(MANIFEST_PATH ${CMAKE_CURRENT_BINARY_DIR}/git/Cargo.toml PROFILE release CRATES my-crate )
however I get:
It looks like the issue is with passing
PROFILE
argument to_generator_add_cargo_targets
which does not seem to take such argument:corrosion/cmake/Corrosion.cmake
Lines 930 to 939 in 366066c
With the forwarding removed it seems to work. Is it the right thing to do?
The text was updated successfully, but these errors were encountered: