Specify PROFILE when importing awooter
Otherwise CMake and Corrosion get confused about how to put things together.
This commit is contained in:
parent
8052a3eea6
commit
a579b5852a
@ -104,7 +104,7 @@ if (AWOOTER)
|
||||
include(FetchContent)
|
||||
FetchContent_Declare(Corrosion GIT_REPOSITORY https://github.com/corrosion-rs/corrosion.git GIT_TAG v0.3.0)
|
||||
FetchContent_MakeAvailable(Corrosion)
|
||||
corrosion_import_crate(MANIFEST_PATH common/route/awooter/rust/Cargo.toml)
|
||||
corrosion_import_crate(MANIFEST_PATH common/route/awooter/rust/Cargo.toml PROFILE "release")
|
||||
|
||||
# Enable cross-lang IPO if CXX is clang.
|
||||
if (USE_IPO AND CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||
|
Loading…
Reference in New Issue
Block a user