mirror of
https://github.com/redstrate/Novus.git
synced 2025-04-22 12:07:45 +00:00
20 lines
No EOL
569 B
CMake
20 lines
No EOL
569 B
CMake
# SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
find_package(Corrosion REQUIRED)
|
|
|
|
FetchContent_Declare(
|
|
libphysis
|
|
GIT_REPOSITORY https://git.sr.ht/~redstrate/libphysis
|
|
GIT_TAG main
|
|
)
|
|
|
|
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)
|
|
add_subdirectory(tinygltf) |