Prepare Qt release workflow (#477)
Co-authored-by: Birk Skyum <74932975+birkskyum@users.noreply.github.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user