summaryrefslogtreecommitdiff
path: root/platform/qt/qt4.cmake
blob: 272009c541292b5db071db7c286f73a259e82244 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
find_package(Qt4 REQUIRED)

set(MBGL_QT_CORE_LIBRARIES
    PUBLIC Qt4::QtCore
    PUBLIC Qt4::QtGui
    PUBLIC Qt4::QtOpenGL
)

set(MBGL_QT_FILESOURCE_LIBRARIES
    PUBLIC Qt4::QtNetwork
    PUBLIC Qt4::QtSql
)

target_compile_options(qmapboxgl
    PRIVATE -Wno-inconsistent-missing-override
)

target_link_libraries(mbgl-qt
    PRIVATE Qt4::QtOpenGL
)