mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-01-08 13:57:08 +00:00
switch recast to using fetchcontent
This commit is contained in:
parent
fd300027a8
commit
764bf43778
1
.gitignore
vendored
1
.gitignore
vendored
@ -8,6 +8,7 @@ thirdparty/mysql/
|
||||
thirdparty/mysql_linux/
|
||||
thirdparty/backtrace/
|
||||
thirdparty/magic_enum/
|
||||
thirdparty/recastnavigation/
|
||||
thirdparty/tinyxml2/
|
||||
CMakeVariables.txt
|
||||
|
||||
|
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -1,9 +1,6 @@
|
||||
[submodule "thirdparty/cpp-httplib"]
|
||||
path = thirdparty/cpp-httplib
|
||||
url = https://github.com/yhirose/cpp-httplib
|
||||
[submodule "thirdparty/recastnavigation"]
|
||||
path = thirdparty/recastnavigation
|
||||
url = https://github.com/recastnavigation/recastnavigation
|
||||
[submodule "thirdparty/libbcrypt"]
|
||||
path = thirdparty/libbcrypt
|
||||
url = https://github.com/trusch/libbcrypt.git
|
||||
|
@ -133,6 +133,13 @@ FetchContent_Declare(
|
||||
GIT_REPOSITORY https://github.com/Neargye/magic_enum.git
|
||||
GIT_TAG v0.9.7
|
||||
)
|
||||
FetchContent_Declare(
|
||||
Recast
|
||||
SYSTEM
|
||||
SOURCE_DIR ${DLU_THIRDPARTY_SOURCE_DIR}/recastnavigation
|
||||
GIT_REPOSITORY https://github.com/recastnavigation/recastnavigation
|
||||
GIT_TAG v1.6.0
|
||||
)
|
||||
FetchContent_Declare(
|
||||
tinyxml2
|
||||
SYSTEM
|
||||
@ -140,13 +147,13 @@ FetchContent_Declare(
|
||||
GIT_REPOSITORY https://github.com/leethomason/tinyxml2.git
|
||||
GIT_TAG 9.0.0
|
||||
)
|
||||
FetchContent_MakeAvailable(magic_enum tinyxml2)
|
||||
FetchContent_MakeAvailable(magic_enum Recast tinyxml2)
|
||||
|
||||
# Turn off tinyxml2 testing
|
||||
set(tinyxml2_BUILD_TESTING OFF)
|
||||
|
||||
include(CMakePrintHelpers)
|
||||
cmake_print_properties(TARGETS magic_enum tinyxml2 PROPERTIES
|
||||
cmake_print_properties(TARGETS magic_enum Recast tinyxml2 PROPERTIES
|
||||
INTERFACE_INCLUDE_DIRECTORIES)
|
||||
|
||||
# Create a /resServer directory
|
||||
@ -292,7 +299,6 @@ include_directories(
|
||||
|
||||
SYSTEM
|
||||
"thirdparty/raknet/Source"
|
||||
"thirdparty/recastnavigation"
|
||||
"thirdparty/SQLite"
|
||||
"thirdparty/cpplinq"
|
||||
"thirdparty/cpp-httplib"
|
||||
|
2
thirdparty/CMakeLists.txt
vendored
2
thirdparty/CMakeLists.txt
vendored
@ -1,5 +1,5 @@
|
||||
# Source Code for recast
|
||||
add_subdirectory(recastnavigation)
|
||||
# add_subdirectory(recastnavigation)
|
||||
|
||||
# Source Code for libbcrypt. Uses a file glob instead to get around Windows build issues.
|
||||
# file(
|
||||
|
2
thirdparty/recastnavigation
vendored
2
thirdparty/recastnavigation
vendored
@ -1 +1 @@
|
||||
Subproject commit c5cbd53024c8a9d8d097a4371215e3342d2fdc87
|
||||
Subproject commit 6dc1667f580357e8a2154c28b7867bea7e8ad3a7
|
Loading…
Reference in New Issue
Block a user