Skip to content

Commit

Permalink
Hardcode INTERFACE_QT_MAJOR_VERSION for Qt6 (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
ntadej authored Nov 9, 2022
1 parent 5b1eb56 commit 193a2d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ qt_internal_add_plugin(QGeoServiceProviderFactoryMapLibreGLPlugin
"$<BUILD_INTERFACE:mbgl-vendor-csscolorparser>"
)

set_property(TARGET QGeoServiceProviderFactoryMapLibreGLPlugin PROPERTY INTERFACE_QT_MAJOR_VERSION 6)

qt_add_resources(plugin_resource_files resources/maplibregl.qrc)

qt_internal_extend_target(QGeoServiceProviderFactoryMapLibreGLPlugin
Expand Down

0 comments on commit 193a2d8

Please sign in to comment.