add toml11 submodule

This commit is contained in:
Lion Kortlepel
2024-09-18 15:58:55 +02:00
parent 60f88916a9
commit 9927d2befb
4 changed files with 11 additions and 8 deletions

3
.gitmodules vendored
View File

@@ -4,3 +4,6 @@
[submodule "vcpkg"]
path = vcpkg
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(RapidJSON CONFIG REQUIRED)
find_package(sol2 CONFIG REQUIRED)
find_package(toml11 CONFIG REQUIRED)
add_subdirectory("deps/toml11")
include_directories(include)

View File

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

1
deps/toml11 vendored Submodule

Submodule deps/toml11 added at f33ca743fb