1
Fork 0
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:
Joshua Goins 2025-04-28 23:50:51 -04:00
parent f3dd2ceea3
commit bd39d5b1fa

View file

@ -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
@ -34,4 +41,4 @@ endif()
set(KDSingleApplication_QT6 ON)
set(KDSingleApplication_STATIC ON)
add_subdirectory(kdsingleapplication EXCLUDE_FROM_ALL)
add_subdirectory(kdsingleapplication EXCLUDE_FROM_ALL)