diff options
author | Thiago Marcos P. Santos <thiago@mapbox.com> | 2017-01-09 14:18:55 -0200 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2017-01-09 15:52:57 -0200 |
commit | def6b63cf7b960884f51b243f4a3fc9d0ab39c68 (patch) | |
tree | 0de088b0a1f510d54f26424e1b52a010ede966d0 /platform/qt | |
parent | eaf03f41037e6f77eb8b8868ec309fb6d37c5592 (diff) | |
download | qtlocation-mapboxgl-def6b63cf7b960884f51b243f4a3fc9d0ab39c68.tar.gz |
[Qt] Fix cross compilation on OSX
Use mason platform instead of CMake host, because the target won't
always be the same arch as the host.
Diffstat (limited to 'platform/qt')
-rw-r--r-- | platform/qt/qt.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/qt/qt.cmake b/platform/qt/qt.cmake index 2950e1fb15..3382a9ac6b 100644 --- a/platform/qt/qt.cmake +++ b/platform/qt/qt.cmake @@ -80,7 +80,7 @@ else() endif() # OS specific configurations -if (CMAKE_HOST_SYSTEM_NAME STREQUAL "Darwin") +if (MASON_PLATFORM STREQUAL "osx" OR MASON_PLATFORM STREQUAL "ios") list(APPEND MBGL_QT_FILES PRIVATE platform/darwin/src/nsthread.mm ) |