mirror of
https://github.com/redstrate/Novus.git
synced 2025-04-24 04:57:45 +00:00
Switch to libphysis git submodule
This commit is contained in:
parent
4bb45b55f7
commit
1ed9edafdd
3 changed files with 7 additions and 10 deletions
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[submodule "extern/libphysis"]
|
||||
path = extern/libphysis
|
||||
url = https://git.sr.ht/~redstrate/libphysis
|
11
extern/CMakeLists.txt
vendored
11
extern/CMakeLists.txt
vendored
|
@ -3,17 +3,10 @@
|
|||
|
||||
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 ${CMAKE_CURRENT_SOURCE_DIR}/libphysis/Cargo.toml)
|
||||
|
||||
corrosion_import_crate(MANIFEST_PATH ${libphysis_SOURCE_DIR}/Cargo.toml)
|
||||
|
||||
target_include_directories(physis INTERFACE ${libphysis_SOURCE_DIR}/target/public)
|
||||
target_include_directories(physis INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/libphysis/target/public)
|
||||
target_link_libraries(physis INTERFACE unshield)
|
||||
|
||||
add_subdirectory(magic_enum)
|
||||
|
|
1
extern/libphysis
vendored
Submodule
1
extern/libphysis
vendored
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 6992aff3c2898349b9b17b9682364280c90ed8a9
|
Loading…
Add table
Reference in a new issue