mirror of
https://github.com/redstrate/Astra.git
synced 2025-05-01 08:27:45 +00:00
Use upstream Corrosion, not what is shipped in your system
Fedora refuses to update their Corrosion, and it's getting *really* annoying. Whatever!
This commit is contained in:
parent
f3dd2ceea3
commit
bd39d5b1fa
1 changed files with 9 additions and 2 deletions
9
external/CMakeLists.txt
vendored
9
external/CMakeLists.txt
vendored
|
@ -9,7 +9,14 @@ set(BUILD_TESTS OFF)
|
|||
|
||||
add_subdirectory(libcotp EXCLUDE_FROM_ALL)
|
||||
|
||||
find_package(Corrosion REQUIRED)
|
||||
include(FetchContent)
|
||||
FetchContent_Declare(
|
||||
Corrosion
|
||||
GIT_REPOSITORY https://github.com/corrosion-rs/corrosion.git
|
||||
GIT_TAG v0.5.1
|
||||
)
|
||||
|
||||
FetchContent_MakeAvailable(Corrosion)
|
||||
|
||||
corrosion_import_crate(MANIFEST_PATH ${CMAKE_CURRENT_SOURCE_DIR}/libphysis/Cargo.toml
|
||||
NO_DEFAULT_FEATURES
|
||||
|
|
Loading…
Add table
Reference in a new issue