Update tomlplusplus

This commit is contained in:
Robbert van der Helm
2020-09-27 17:48:43 +02:00
parent ae402aa805
commit f1b1f20fdb
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ boost_filesystem_dep = dependency(
) )
bitsery_dep = subproject('bitsery').get_variable('bitsery_dep') bitsery_dep = subproject('bitsery').get_variable('bitsery_dep')
threads_dep = dependency('threads') threads_dep = dependency('threads')
tomlplusplus_dep = subproject('tomlplusplus').get_variable('tomlplusplus_dep') tomlplusplus_dep = subproject('tomlplusplus', version : '2.1.0').get_variable('tomlplusplus_dep')
# The built in threads dependency does not know how to handle winegcc # The built in threads dependency does not know how to handle winegcc
wine_threads_dep = declare_dependency(link_args : '-lpthread') wine_threads_dep = declare_dependency(link_args : '-lpthread')
xcb_dep = dependency('xcb') xcb_dep = dependency('xcb')
+4
View File
@@ -16,6 +16,10 @@
#include "configuration.h" #include "configuration.h"
// tomlplusplus recently got some Windows fixes, but they cause compilation
// errors and we don't need them so we'll just disable them outright
#define TOML_WINDOWS_COMPAT 0
#include <fnmatch.h> #include <fnmatch.h>
#include <toml++/toml.h> #include <toml++/toml.h>
#include <fstream> #include <fstream>
+1 -1
View File
@@ -1,4 +1,4 @@
[wrap-git] [wrap-git]
url = https://github.com/marzer/tomlplusplus.git url = https://github.com/marzer/tomlplusplus.git
revision = v1.2.5 revision = v2.1.0
depth = 1 depth = 1