summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-08-30 17:33:34 +0300
committerMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-09-02 14:09:08 +0300
commitd1c87d2cb0a0444ad2b83ed39bec1cd1b2066d73 (patch)
tree2e1192f6639d0233a529556eb1b70ea4651e36f8 /cmake
parent26ea9798b766e312bb06f4d9f4b7ff99359ad6e1 (diff)
downloadqtlocation-mapboxgl-d1c87d2cb0a0444ad2b83ed39bec1cd1b2066d73.tar.gz
[build] Exclude mapbox-base targest from default build
Diffstat (limited to 'cmake')
-rw-r--r--cmake/vendor.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/vendor.cmake b/cmake/vendor.cmake
index 6286c0c31c..23a01dd37c 100644
--- a/cmake/vendor.cmake
+++ b/cmake/vendor.cmake
@@ -21,7 +21,7 @@ include(${CMAKE_SOURCE_DIR}/vendor/vector-tile.cmake)
include(${CMAKE_SOURCE_DIR}/vendor/wagyu.cmake)
if(NOT TARGET mapbox-base)
- add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/vendor/mapbox-base ${CMAKE_BINARY_DIR}/.build-mapbox-gl-native-mapbox-base)
+ add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/vendor/mapbox-base ${CMAKE_BINARY_DIR}/.build-mapbox-gl-native-mapbox-base EXCLUDE_FROM_ALL)
endif()
target_compile_definitions(mapbox-base-extras-rapidjson INTERFACE