summaryrefslogtreecommitdiff
path: root/platform/linux
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2017-01-27 12:12:06 +0100
committerKonstantin Käfer <mail@kkaefer.com>2017-01-27 14:52:21 +0100
commita253a15a7c61f6c0fbdeca69cd6ca813a9b8d40f (patch)
tree53e414b40741bc8721e5320e94e452c3e08eabd5 /platform/linux
parent329051a1ebcf1d4983041838a6ac932f3e7981c5 (diff)
downloadqtlocation-mapboxgl-a253a15a7c61f6c0fbdeca69cd6ca813a9b8d40f.tar.gz
[linux] update CA bundle and add script for automated updates
also removes the ca-bundle.crt from the Android build, since it's entirely unused
Diffstat (limited to 'platform/linux')
-rw-r--r--platform/linux/config.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/platform/linux/config.cmake b/platform/linux/config.cmake
index caf91fdce2..ac1a195822 100644
--- a/platform/linux/config.cmake
+++ b/platform/linux/config.cmake
@@ -110,6 +110,13 @@ macro(mbgl_platform_glfw)
target_link_libraries(mbgl-glfw
PRIVATE mbgl-loop
)
+
+ add_custom_command(
+ TARGET mbgl-glfw POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ ${CMAKE_SOURCE_DIR}/common/ca-bundle.crt
+ ${CMAKE_CURRENT_BINARY_DIR}/ca-bundle.crt
+ )
endmacro()