build: replace FetchContent with direct includes for toml++

This commit is contained in:
2026-07-21 10:55:36 +08:00
parent 5018ebe247
commit 2bb281b01c
54 changed files with 21943 additions and 9 deletions

View File

@@ -13,14 +13,6 @@ find_package(Opus REQUIRED)
# Third-party libraries
FetchContent_Declare(
tomlplusplus
GIT_REPOSITORY https://github.com/marzer/tomlplusplus.git
GIT_TAG v3.4.0
)
FetchContent_MakeAvailable(tomlplusplus)
if (WIN32)
set(_BUILD_SHARED_LIBS_SAVED ${BUILD_SHARED_LIBS})