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

22 lines
674 B
CMake

add_library(nunicode STATIC
${CMAKE_SOURCE_DIR}/vendor/nunicode/src/libnu/ducet.c
${CMAKE_SOURCE_DIR}/vendor/nunicode/src/libnu/strcoll.c
${CMAKE_SOURCE_DIR}/vendor/nunicode/src/libnu/strings.c
${CMAKE_SOURCE_DIR}/vendor/nunicode/src/libnu/tolower.c
${CMAKE_SOURCE_DIR}/vendor/nunicode/src/libnu/tounaccent.c
${CMAKE_SOURCE_DIR}/vendor/nunicode/src/libnu/toupper.c
${CMAKE_SOURCE_DIR}/vendor/nunicode/src/libnu/utf8.c
)
target_compile_definitions(nunicode PRIVATE
NU_BUILD_STATIC
)
target_compile_options(nunicode PRIVATE
-Wno-error
)
target_include_directories(nunicode SYSTEM PUBLIC
${CMAKE_SOURCE_DIR}/vendor/nunicode/include
)