2022-08-04 11:32:12 -04:00
|
|
|
FetchContent_Declare(
|
|
|
|
Corrosion
|
|
|
|
GIT_REPOSITORY https://github.com/corrosion-rs/corrosion.git
|
2022-10-17 20:09:43 -04:00
|
|
|
GIT_TAG v0.2.2
|
2022-08-04 11:32:12 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
FetchContent_MakeAvailable(Corrosion)
|
|
|
|
|
|
|
|
FetchContent_Declare(
|
|
|
|
libphysis
|
|
|
|
GIT_REPOSITORY https://git.sr.ht/~redstrate/libphysis
|
2022-10-17 20:09:43 -04:00
|
|
|
GIT_TAG 0.1.1
|
2022-08-04 11:32:12 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
FetchContent_MakeAvailable(libphysis)
|
|
|
|
|
|
|
|
corrosion_import_crate(MANIFEST_PATH ${libphysis_SOURCE_DIR}/Cargo.toml)
|
|
|
|
|
|
|
|
target_include_directories(physis INTERFACE ${libphysis_SOURCE_DIR}/target/public)
|
|
|
|
target_link_libraries(physis INTERFACE unshield)
|
|
|
|
|
|
|
|
add_subdirectory(magic_enum)
|