summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--next/bin/CMakeLists.txt2
-rw-r--r--next/platform/android/android.cmake2
-rw-r--r--next/platform/glfw/CMakeLists.txt2
3 files changed, 6 insertions, 0 deletions
diff --git a/next/bin/CMakeLists.txt b/next/bin/CMakeLists.txt
index e4222774bb..b002783770 100644
--- a/next/bin/CMakeLists.txt
+++ b/next/bin/CMakeLists.txt
@@ -18,6 +18,8 @@ target_link_libraries(
PRIVATE Mapbox::Base::Extras::args mbgl-core
)
+install(TARGETS mbgl-offline mbgl-render RUNTIME DESTINATION bin)
+
# FIXME: CI must have a valid token
#
# add_test(NAME mbgl-offline-tool-test COMMAND mbgl-offline -s mapbox://styles/mapbox/satellite-v9 --maxZoom=0 WORKING_DIRECTORY
diff --git a/next/platform/android/android.cmake b/next/platform/android/android.cmake
index e086f8b75b..b0c9c712dc 100644
--- a/next/platform/android/android.cmake
+++ b/next/platform/android/android.cmake
@@ -393,3 +393,5 @@ target_compile_options(mbgl-core PRIVATE $<$<CONFIG:Release>:-Qunused-arguments
target_compile_options(mbgl-render-test-runner PRIVATE $<$<CONFIG:Release>:-Qunused-arguments -flto>)
target_compile_options(mbgl-vendor-icu PRIVATE $<$<CONFIG:Release>:-Qunused-arguments -flto>)
target_compile_options(mbgl-vendor-sqlite PRIVATE $<$<CONFIG:Release>:-Qunused-arguments -flto>)
+
+install(TARGETS mapbox-gl LIBRARY DESTINATION lib)
diff --git a/next/platform/glfw/CMakeLists.txt b/next/platform/glfw/CMakeLists.txt
index d4f1b9d545..e4c0920a44 100644
--- a/next/platform/glfw/CMakeLists.txt
+++ b/next/platform/glfw/CMakeLists.txt
@@ -36,3 +36,5 @@ target_link_libraries(
)
set_property(TARGET mbgl-glfw PROPERTY FOLDER Executables)
+
+install(TARGETS mbgl-glfw RUNTIME DESTINATION bin)