Files
MapLibreParticleLab/vendor/rapidjson.cmake
Thiago Marcos P. Santos 69960afb8d [build] Add build system for submodules
Vendorize the submodules and a simple CMake build
system for all them. The dependencies will inherit
compilation options for core.

The goal is to make Mapbox GL Core completely self
contained with a simple offline build.
2018-10-31 18:19:28 +02:00

16 lines
335 B
CMake

add_library(rapidjson INTERFACE)
target_include_directories(rapidjson SYSTEM INTERFACE
${CMAKE_SOURCE_DIR}/vendor/rapidjson/include
)
target_compile_definitions(rapidjson INTERFACE
RAPIDJSON_HAS_STDSTRING=1
)
if(WIN32)
target_compile_definitions(rapidjson INTERFACE
RAPIDJSON_HAS_CXX11_RVALUE_REFS
)
endif()