Prepare Qt release workflow (#477)

Co-authored-by: Birk Skyum <74932975+birkskyum@users.noreply.github.com>
This commit is contained in:
Tadej Novak
2022-09-13 21:55:16 +02:00
committed by GitHub
parent 8d7995e783
commit a0d28ee958
12 changed files with 70 additions and 17 deletions

View File

@@ -10,6 +10,7 @@ option(MBGL_QT_STATIC "Build MapLibre GL Qt bindings staticly" OFF)
option(MBGL_QT_INSIDE_PLUGIN "Build QMapLibreGL as OBJECT library, so it can be bundled into separate single plugin lib." OFF)
option(MBGL_QT_WITH_HEADLESS "Build MapLibre GL Qt with headless support" ON)
option(MBGL_QT_WITH_INTERNAL_SQLITE "Build MapLibre GL Qt bindings with internal sqlite" OFF)
option(MBGL_QT_DEPLOYMENT "Autogenerate files necessary for deployment" OFF)
find_package(QT NAMES Qt6 Qt5 COMPONENTS Core REQUIRED)
find_package(Qt${QT_VERSION_MAJOR}
@@ -248,6 +249,11 @@ install(
COMPONENT development
)
if(MBGL_QT_DEPLOYMENT)
install(FILES ${PROJECT_SOURCE_DIR}/LICENSE.md
DESTINATION .)
endif()
# FIXME: Because of rapidjson conversion
target_include_directories(
qmaplibregl