mirror of
https://github.com/redstrate/Novus.git
synced 2025-05-02 16:17:44 +00:00
24 lines
No EOL
648 B
CMake
24 lines
No EOL
648 B
CMake
FetchContent_Declare(
|
|
Corrosion
|
|
GIT_REPOSITORY https://github.com/corrosion-rs/corrosion.git
|
|
GIT_TAG v0.3.5
|
|
)
|
|
|
|
FetchContent_MakeAvailable(Corrosion)
|
|
|
|
#FetchContent_Declare(
|
|
# libphysis
|
|
# GIT_REPOSITORY https://git.sr.ht/~redstrate/libphysis
|
|
# GIT_TAG 0.1.3
|
|
#)
|
|
|
|
#FetchContent_MakeAvailable(libphysis)
|
|
|
|
set(libphysis_SOURCE_DIR /home/josh/Development/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) |