Make sure maplibre-tile-spec builds OK with Qt with all configurations (#4419)
This commit is contained in:
7
vendor/maplibre-tile-spec.cmake
vendored
7
vendor/maplibre-tile-spec.cmake
vendored
@@ -2,9 +2,8 @@ set(MLT_WITH_JSON OFF CACHE BOOL "No JSON support" FORCE)
|
||||
set(MLT_WITH_PROTOZERO OFF CACHE BOOL "No protozero" FORCE)
|
||||
set(MLT_WITH_TESTS OFF CACHE BOOL "Google Test conflicts with Dawn")
|
||||
set(MLT_WITH_TOOLS OFF CACHE BOOL "Not used")
|
||||
|
||||
# This is set by the platform CMakeLists.txt after vendor libraries. If it was set earlier, we could just use it.
|
||||
set(CMAKE_OSX_DEPLOYMENT_TARGET 14.3)
|
||||
set(MLT_OSX_DEPLOYMENT_TARGET ${CMAKE_OSX_DEPLOYMENT_TARGET} CACHE STRING "Inherited MacOS/iOS target" FORCE)
|
||||
if(MLN_WITH_QT)
|
||||
set(MLT_AS_OBJECT_LIBRARY ON CACHE BOOL "Build as object library" FORCE)
|
||||
endif()
|
||||
|
||||
add_subdirectory(${PROJECT_SOURCE_DIR}/vendor/maplibre-tile-spec/cpp SYSTEM)
|
||||
|
||||
Reference in New Issue
Block a user