From a253a15a7c61f6c0fbdeca69cd6ca813a9b8d40f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Fri, 27 Jan 2017 12:12:06 +0100 Subject: [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 --- platform/linux/config.cmake | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'platform/linux') 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() -- cgit v1.2.1