diff options
author | Sudarsana Babu Nagineni <sudarsana.babu@mapbox.com> | 2018-08-03 10:44:57 +0300 |
---|---|---|
committer | Sudarsana Babu Nagineni <sudarsana.babu@mapbox.com> | 2018-08-07 15:50:14 +0300 |
commit | dfb93250570aec583f5aa8dcc1f23d3ba0a76f12 (patch) | |
tree | 18c5b1ca6207f080e07690c1a5801a9d5302d945 /platform/qt/qt.cmake | |
parent | a6bd60fd57f66e7c6e8e5e47f43ca7167a6a7bae (diff) | |
download | qtlocation-mapboxgl-dfb93250570aec583f5aa8dcc1f23d3ba0a76f12.tar.gz |
[Qt] Add CMake toolchain for QNX platform
This adds CMake toolchain for QNX platform. By using this
toolchain, we can compile Mapbox GL Plugin for Qt on QNX
platform.
Diffstat (limited to 'platform/qt/qt.cmake')
-rw-r--r-- | platform/qt/qt.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/qt/qt.cmake b/platform/qt/qt.cmake index ce43177daa..341c0db45b 100644 --- a/platform/qt/qt.cmake +++ b/platform/qt/qt.cmake @@ -161,6 +161,11 @@ elseif (CMAKE_HOST_SYSTEM_NAME STREQUAL "Windows") target_add_mason_package(qmapboxgl PRIVATE optional) target_add_mason_package(qmapboxgl PRIVATE tao_tuple) +elseif (CMAKE_HOST_SYSTEM_NAME STREQUAL "QNX") + list(APPEND MBGL_QT_CORE_FILES + PRIVATE platform/qt/src/thread.cpp + ) + add_definitions("-Wno-narrowing") endif() add_custom_command( |