mirror of
https://github.com/redstrate/Novus.git
synced 2025-04-30 07:27: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:
parent
5f7e050e25
commit
f10beec178
1 changed files with 6 additions and 1 deletions
7
extern/CMakeLists.txt
vendored
7
extern/CMakeLists.txt
vendored
|
@ -4,7 +4,12 @@
|
||||||
set(BUILD_SHARED_LIBS OFF)
|
set(BUILD_SHARED_LIBS OFF)
|
||||||
add_compile_options(-w)
|
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)
|
corrosion_import_crate(MANIFEST_PATH ${CMAKE_CURRENT_SOURCE_DIR}/libphysis/Cargo.toml FEATURES logging)
|
||||||
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/libphysis/logger)
|
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/libphysis/logger)
|
||||||
|
|
Loading…
Add table
Reference in a new issue