2022-08-31 21:19:25 -04:00
|
|
|
add_subdirectory(libbaseencode)
|
|
|
|
add_subdirectory(libcotp)
|
|
|
|
|
2022-07-20 11:44:41 -04:00
|
|
|
include(FetchContent)
|
|
|
|
|
|
|
|
FetchContent_Declare(
|
|
|
|
Corrosion
|
|
|
|
GIT_REPOSITORY https://github.com/corrosion-rs/corrosion.git
|
2022-10-17 20:04:07 -04:00
|
|
|
GIT_TAG v0.2.2
|
2022-07-20 11:44:41 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
FetchContent_MakeAvailable(Corrosion)
|
|
|
|
|
|
|
|
FetchContent_Declare(
|
|
|
|
libphysis
|
|
|
|
GIT_REPOSITORY https://git.sr.ht/~redstrate/libphysis
|
2022-10-17 20:04:07 -04:00
|
|
|
GIT_TAG 0.1.1
|
2022-07-20 11:44:41 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
FetchContent_MakeAvailable(libphysis)
|
|
|
|
|
2022-09-07 23:26:09 -04:00
|
|
|
corrosion_import_crate(MANIFEST_PATH ${libphysis_SOURCE_DIR}/Cargo.toml)
|
2022-07-20 11:44:41 -04:00
|
|
|
|
2022-09-07 23:26:09 -04:00
|
|
|
target_include_directories(physis INTERFACE ${libphysis_SOURCE_DIR}/target/public)
|
2022-07-21 20:51:38 -04:00
|
|
|
target_link_libraries(physis INTERFACE unshield)
|