Update dependency management

This commit is contained in:
2021-03-18 23:28:39 +01:00
parent 7c25151573
commit 50a52b7ced
3 changed files with 13 additions and 11 deletions

View File

@@ -7,9 +7,9 @@ add_subdirectory(spdlog)
add_subdirectory(magic-enum)
add_subdirectory(yaml-cpp)
add_subdirectory(pugixml)
add_subdirectory(PlatformFolders)
add_subdirectory(stb)
add_subdirectory(eigen)
add_subdirectory(utfcpp)
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/deps)
execute_process(

View File

@@ -1,10 +0,0 @@
include(FetchContent)
FetchContent_Declare(
platform_folders
GIT_REPOSITORY https://github.com/sago007/PlatformFolders.git
GIT_TAG 4.2.0
GIT_SHALLOW TRUE
)
set(PLATFORMFOLDERS_BUILD_TESTING OFF)
FetchContent_MakeAvailable(platform_folders)

12
3rdParty/utfcpp/CMakeLists.txt vendored Normal file
View File

@@ -0,0 +1,12 @@
include(FetchContent)
FetchContent_Declare(
utfcpp
GIT_REPOSITORY https://github.com/nemtrif/utfcpp.git
GIT_TAG v3.1.2
GIT_SHALLOW TRUE
)
set(UTF8_TESTS OFF)
set(UTF8_INSTALL OFF)
set(UTF8_SAMPLES OFF)
FetchContent_MakeAvailable(utfcpp)