diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2018-09-04 17:26:24 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2018-09-05 12:26:15 +0200 |
commit | e51eb0fc238e24e672f2ba803fed4d527791733f (patch) | |
tree | c8af2caaa4b496d21bfb51505f8bcce98b1cad6c /platform/qt | |
parent | f006eb972893368d1742379a5178f901bd2a0ec8 (diff) | |
download | qtlocation-mapboxgl-e51eb0fc238e24e672f2ba803fed4d527791733f.tar.gz |
[build] use vendored version of ICU
Diffstat (limited to 'platform/qt')
-rw-r--r-- | platform/qt/config.cmake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/platform/qt/config.cmake b/platform/qt/config.cmake index 5cb622f813..5f639b3f78 100644 --- a/platform/qt/config.cmake +++ b/platform/qt/config.cmake @@ -1,6 +1,10 @@ include(platform/qt/qt.cmake) include(cmake/nunicode.cmake) +if(NOT WITH_QT_I18N) + include(cmake/icu.cmake) +endif() + macro(mbgl_platform_core) target_sources(mbgl-core ${MBGL_QT_CORE_FILES} @@ -33,7 +37,7 @@ macro(mbgl_platform_core) if(NOT WITH_QT_I18N) target_sources(mbgl-core PRIVATE platform/default/bidi.cpp) - target_add_mason_package(mbgl-core PRIVATE icu) + target_link_libraries(mbgl-core PRIVATE icu) else() target_sources(mbgl-core PRIVATE platform/qt/src/bidi.cpp) endif() |