summaryrefslogtreecommitdiff
path: root/platform/qt/qt4.cmake
blob: 80fd4f00d3a550c905a7bc73e947b783b14cc343 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
find_package(Qt4 REQUIRED)

set(MBGL_QT_LIBRARIES
    PRIVATE Qt4::QtCore
    PRIVATE Qt4::QtGui
    PRIVATE Qt4::QtNetwork
    PRIVATE Qt4::QtOpenGL
    PRIVATE Qt4::QtSql
)

set(MBGL_QT_TEST_LIBRARIES
    PRIVATE Qt4::QtCore
    PRIVATE Qt4::QtOpenGL
)

target_link_libraries(qmapboxgl
    PRIVATE mbgl-core
    PRIVATE Qt4::QtCore
    PRIVATE Qt4::QtGui
    PRIVATE Qt4::QtOpenGL
)

target_link_libraries(mbgl-qt
    PRIVATE qmapboxgl
    PRIVATE Qt4::QtGui
    PRIVATE Qt4::QtOpenGL
)