* QMapboxGLSettings functions for changing default options and getting default styles
* [qt] allow to build without widgets and other cmake improvements
* [qt] Install include/mbgl for development
* [qt] library static/shared install+export
* [qt] Add missing mbgl-compiler-options dependency for 'qmapboxgl'
* [qt] Raise CMAKE_OSX_DEPLOYMENT_TARGET from 10.13 to 13.0
* [qt] Add Qt::Sql dependency also to the final library. Build qmapboxgl as OBJECT lib inside QtLocation plugin.
* Remove Qt::Sql dependency from 'qmapboxgl'. Not really needed.
* Set CMake config files path back to ${CMAKE_INSTALL_LIBDIR}/cmake/QMapboxGL/
* [qt] Set CMAKE_OSX_DEPLOYMENT_TARGET only if it is not yet set
* [qt] Support CMake v3.11 and earlier versions
* [qt] Comment out 'iOS_static' from CI until it is fixed.
Co-authored-by: Rinigus <rinigus.git@gmail.com>
16 lines
497 B
CMake
16 lines
497 B
CMake
@PACKAGE_INIT@
|
|
|
|
include(CMakeFindDependencyMacro)
|
|
find_dependency(Qt@QT_VERSION_MAJOR@
|
|
COMPONENTS Gui @REQUIRED_QT_VERSION@)
|
|
find_dependency(Qt@QT_VERSION_MAJOR@
|
|
COMPONENTS Network @REQUIRED_QT_VERSION@)
|
|
|
|
if(@MBGL_WITH_QT_HEADLESS@ OR NOT @MBGL_WITH_QT_LIB_ONLY@)
|
|
find_dependency(Qt@QT_VERSION_MAJOR@
|
|
COMPONENTS OpenGL @REQUIRED_QT_VERSION@)
|
|
endif()
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/QMapboxGLTargets.cmake")
|
|
@PACKAGE_INCLUDE_QCHTARGETS@
|