2023-08-06 08:48:11 -04:00
|
|
|
# SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
|
|
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
|
2022-08-04 11:32:12 -04:00
|
|
|
FetchContent_Declare(
|
|
|
|
Corrosion
|
|
|
|
GIT_REPOSITORY https://github.com/corrosion-rs/corrosion.git
|
2023-04-09 15:32:47 -04:00
|
|
|
GIT_TAG v0.3.5
|
2022-08-04 11:32:12 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
FetchContent_MakeAvailable(Corrosion)
|
|
|
|
|
2023-04-09 15:32:47 -04:00
|
|
|
FetchContent_Declare(
|
|
|
|
libphysis
|
|
|
|
GIT_REPOSITORY https://git.sr.ht/~redstrate/libphysis
|
2023-08-31 14:18:33 +02:00
|
|
|
GIT_TAG main
|
2023-04-09 15:32:47 -04:00
|
|
|
)
|
2022-08-04 11:32:12 -04:00
|
|
|
|
2023-04-09 15:32:47 -04:00
|
|
|
FetchContent_MakeAvailable(libphysis)
|
2022-08-04 11:32:12 -04:00
|
|
|
|
|
|
|
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)
|
|
|
|
|
2023-09-23 14:08:41 -04:00
|
|
|
add_subdirectory(magic_enum)
|
|
|
|
add_subdirectory(tinygltf)
|