Make the JSON library ambiently available.
This commit is contained in:
parent
2e03a3cdea
commit
2a4da70de0
|
@ -29,4 +29,13 @@
|
|||
|
||||
#include "mathfu.hpp"
|
||||
|
||||
// give all modules access to our tweaked JSON
|
||||
#include <json.hpp>
|
||||
#include <fifo_map.hpp>
|
||||
|
||||
template<class K, class V, class ignore, class A>
|
||||
using workaround_fifo_map = nlohmann::fifo_map<K, V, nlohmann::fifo_map_compare<K>, A>;
|
||||
|
||||
using json = nlohmann::basic_json<workaround_fifo_map>;
|
||||
|
||||
extern bool verboseOutput;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#include <cassert>
|
||||
#include <cmath>
|
||||
|
||||
#include "gltf/Raw2Gltf.hpp"
|
||||
#include "FBX2glTF.h"
|
||||
|
||||
#include "utils/File_Utils.hpp"
|
||||
#include "utils/String_Utils.hpp"
|
||||
|
|
|
@ -16,14 +16,6 @@
|
|||
#undef ERROR
|
||||
#include <draco/compression/encode.h>
|
||||
|
||||
#include <json.hpp>
|
||||
#include <fifo_map.hpp>
|
||||
|
||||
template<class K, class V, class ignore, class A>
|
||||
using workaround_fifo_map = nlohmann::fifo_map<K, V, nlohmann::fifo_map_compare<K>, A>;
|
||||
|
||||
using json = nlohmann::basic_json<workaround_fifo_map>;
|
||||
|
||||
#include "FBX2glTF.h"
|
||||
#include "raw/RawModel.hpp"
|
||||
|
||||
|
|
Loading…
Reference in New Issue