From 50bdbea570ad079490f160a189010271bd33bcb1 Mon Sep 17 00:00:00 2001 From: Juha Alanen Date: Mon, 3 Jun 2019 15:34:13 +0300 Subject: [core] Add number-format expression --- cmake/core.cmake | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'cmake/core.cmake') diff --git a/cmake/core.cmake b/cmake/core.cmake index 1971352c37..3278c4f7d3 100644 --- a/cmake/core.cmake +++ b/cmake/core.cmake @@ -19,13 +19,18 @@ target_link_libraries(mbgl-core PRIVATE wagyu ) +# linux uses ICU from mason, other platforms use vendored ICU +if(NOT MBGL_PLATFORM STREQUAL "linux") + set(ICU_LIBRARY "icu") +endif() + # FIXME: We should not leak these many # libraries in our public interface. target_link_libraries(mbgl-core PUBLIC boost geojson.hpp geometry.hpp - icu + ${ICU_LIBRARY} optional polylabel protozero -- cgit v1.2.1