Pull in maplibre-native-base repo (#3389)
This commit is contained in:
@@ -128,12 +128,11 @@ endif()
|
||||
target_link_libraries(
|
||||
mbgl-glfw
|
||||
PRIVATE
|
||||
Mapbox::Base::Extras::args
|
||||
Mapbox::Base::Extras::filesystem
|
||||
Mapbox::Base::Extras::rapidjson
|
||||
MapLibreNative::Base::Extras::args
|
||||
MapLibreNative::Base::Extras::rapidjson
|
||||
Mapbox::Map
|
||||
mbgl-compiler-options
|
||||
Mapbox::Base::cheap-ruler-cpp
|
||||
MapLibreNative::Base::cheap-ruler-cpp
|
||||
)
|
||||
|
||||
if(NOT WIN32 AND MLN_WITH_OPENGL)
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
#include <rapidjson/prettywriter.h>
|
||||
#include <rapidjson/stringbuffer.h>
|
||||
#include <rapidjson/writer.h>
|
||||
#include <ghc/filesystem.hpp>
|
||||
|
||||
#include <cmath>
|
||||
#include <fstream>
|
||||
#include <utility>
|
||||
#include <filesystem>
|
||||
|
||||
using Writer = rapidjson::PrettyWriter<rapidjson::StringBuffer>;
|
||||
|
||||
@@ -117,7 +117,7 @@ TestWriter& TestWriter::withInitialSize(const mbgl::Size& size) {
|
||||
}
|
||||
|
||||
bool TestWriter::write(const std::string& dir) const {
|
||||
namespace fs = ghc::filesystem;
|
||||
namespace fs = std::filesystem;
|
||||
|
||||
fs::path rootDir(dir);
|
||||
if (!fs::exists(rootDir)) {
|
||||
|
||||
Reference in New Issue
Block a user