add toml11 submodule

This commit is contained in:
Lion Kortlepel 2024-09-18 15:58:55 +02:00
parent 60f88916a9
commit 9927d2befb
No known key found for this signature in database
GPG Key ID: 4322FF2B4C71259B
4 changed files with 11 additions and 8 deletions

3
.gitmodules vendored
View File

@ -4,3 +4,6 @@
[submodule "vcpkg"] [submodule "vcpkg"]
path = vcpkg path = vcpkg
url = https://github.com/Microsoft/vcpkg.git url = https://github.com/Microsoft/vcpkg.git
[submodule "deps/toml11"]
path = deps/toml11
url = https://github.com/ToruNiina/toml11

View File

@ -116,7 +116,7 @@ find_package(httplib CONFIG REQUIRED)
find_package(libzip CONFIG REQUIRED) find_package(libzip CONFIG REQUIRED)
find_package(RapidJSON CONFIG REQUIRED) find_package(RapidJSON CONFIG REQUIRED)
find_package(sol2 CONFIG REQUIRED) find_package(sol2 CONFIG REQUIRED)
find_package(toml11 CONFIG REQUIRED) add_subdirectory("deps/toml11")
include_directories(include) include_directories(include)

View File

@ -73,7 +73,6 @@ function(set_project_warnings project_name)
-Werror=missing-declarations -Werror=missing-declarations
-Werror=missing-field-initializers -Werror=missing-field-initializers
-Werror=ctor-dtor-privacy -Werror=ctor-dtor-privacy
-Werror=switch-enum
-Wswitch-default -Wswitch-default
-Werror=unused-result -Werror=unused-result
-Werror=implicit-fallthrough -Werror=implicit-fallthrough

1
deps/toml11 vendored Submodule

@ -0,0 +1 @@
Subproject commit f33ca743fb105bf54293cc822f56cf2794d15bf2