1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-04-29 23:17:46 +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:40:51 -04:00
parent 5f7e050e25
commit f10beec178

View file

@ -4,7 +4,12 @@
set(BUILD_SHARED_LIBS OFF)
add_compile_options(-w)
find_package(Corrosion REQUIRED)
FetchContent_Declare(
Corrosion
GIT_REPOSITORY https://github.com/corrosion-rs/corrosion.git
GIT_TAG v0.5.2
)
FetchContent_MakeAvailable(Corrosion)
corrosion_import_crate(MANIFEST_PATH ${CMAKE_CURRENT_SOURCE_DIR}/libphysis/Cargo.toml FEATURES logging)
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/libphysis/logger)