Files
MapLibreParticleLab/vendor/optional.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

11 lines
293 B
CMake

add_library(optional INTERFACE)
# This polyfill is really only needed for
# Windows. We need to be careful to not leak
# it into any of our public interfaces.
if(WIN32)
target_include_directories(optional SYSTEM INTERFACE
${CMAKE_SOURCE_DIR}/vendor/optional/include
)
endif()