summaryrefslogtreecommitdiff
path: root/platform/android/android.cmake
diff options
context:
space:
mode:
authorAlexander Shalamov <alexander.shalamov@mapbox.com>2020-04-21 21:03:48 +0300
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2020-04-27 19:47:30 +0300
commit4457f5ced9e4ac2454df4c719e7e8f3e1f55b39a (patch)
treee4a8c5cf52814bd534c31e6d0b52411c06850e03 /platform/android/android.cmake
parentde12a0647dd1d0681d051ff7e3797356db149a52 (diff)
downloadqtlocation-mapboxgl-4457f5ced9e4ac2454df4c719e7e8f3e1f55b39a.tar.gz
Build default http stack if MBGL_PUBLIC_BUILD is set
Diffstat (limited to 'platform/android/android.cmake')
-rw-r--r--platform/android/android.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/android.cmake b/platform/android/android.cmake
index 6547496bce..625bf3a172 100644
--- a/platform/android/android.cmake
+++ b/platform/android/android.cmake
@@ -146,7 +146,7 @@ if(ANDROID_NATIVE_API_LEVEL VERSION_LESS 24)
else()
target_sources(
mbgl-test-runner
- PRIVATE ${PROJECT_SOURCE_DIR}/platform/default/src/mbgl/storage/http_file_source.cpp
+ PRIVATE $<$<BOOL:${MBGL_PUBLIC_BUILD}>:${PROJECT_SOURCE_DIR}/platform/default/src/mbgl/storage/http_file_source.cpp>
)
include(${PROJECT_SOURCE_DIR}/vendor/curl.cmake)