Allow system cpptoml

meson.build:
When the 'wrap_mode' option is set to 'nodownload' use a system version
of cpptoml. This does not require using git and having a network
connection during build, which is important for Linux packaging
infrastructure.

subprojects/cpptoml.wrap:
Pin revision to last release tag (v0.1.1).

lib/wptoml/*.cpp:
Remove 'include/' prefix from all cpptoml related includes, at is not
required.

Closes #17
This commit is contained in:
David Runge
2020-07-19 10:25:29 +02:00
parent 4eb853ca7a
commit fbe1e5177b
5 changed files with 11 additions and 7 deletions

View File

@@ -10,7 +10,7 @@
#include <functional>
/* CPPTOML */
#include <include/cpptoml.h>
#include <cpptoml.h>
/* TOML */
#include "private.h"