[core] Use geojson as a header only library

This commit is contained in:
Thiago Marcos P. Santos
2016-09-26 19:18:50 +03:00
committed by Konstantin Käfer
parent e0ffde7bc2
commit 4ef66f36d4
4 changed files with 4 additions and 2 deletions

2
.mason

Submodule .mason updated: 7cc64b1f32...48ea4761bd

View File

@@ -29,7 +29,7 @@ mason_use(kdbush VERSION 0.1.1 HEADER_ONLY)
mason_use(earcut VERSION 0.11 HEADER_ONLY)
mason_use(protozero VERSION 1.4.2 HEADER_ONLY)
mason_use(pixelmatch VERSION 0.9.0 HEADER_ONLY)
mason_use(geojson VERSION 0.3.0)
mason_use(geojson VERSION 0.3.1 HEADER_ONLY)
if(WITH_COVERAGE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --coverage")

View File

@@ -436,6 +436,7 @@ set(MBGL_CORE_FILES
src/mbgl/util/exclusive.hpp
src/mbgl/util/font_stack.cpp
src/mbgl/util/geo.cpp
src/mbgl/util/geojson.cpp
src/mbgl/util/grid_index.cpp
src/mbgl/util/grid_index.hpp
src/mbgl/util/http_header.cpp

View File

@@ -0,0 +1 @@
#include <mapbox/geojson_impl.hpp>