diff options
author | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2018-01-10 17:38:48 +0200 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2018-01-10 21:42:20 +0200 |
commit | 0a7b4e3eb8544ec662a571b5533e9b55913fe732 (patch) | |
tree | 518af58b789b6d0ab2a6c21b80084eeedb38652e /platform/qt/qt.cmake | |
parent | 304ca35f289aef59e29fa18d3a78730c39cad7fa (diff) | |
download | qtlocation-mapboxgl-0a7b4e3eb8544ec662a571b5533e9b55913fe732.tar.gz |
[qt] Fix import/export symbols declarations
Fixes #10875
Diffstat (limited to 'platform/qt/qt.cmake')
-rw-r--r-- | platform/qt/qt.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/qt/qt.cmake b/platform/qt/qt.cmake index 3e81b17d00..aaae199650 100644 --- a/platform/qt/qt.cmake +++ b/platform/qt/qt.cmake @@ -70,6 +70,10 @@ target_include_directories(qmapboxgl PUBLIC platform/qt/include ) +target_compile_definitions(qmapboxgl + PRIVATE "-DQT_BUILD_MAPBOXGL_LIB" +) + target_link_libraries(qmapboxgl PRIVATE mbgl-core PRIVATE mbgl-filesource |