diff --git a/cmake/glfw.cmake b/cmake/glfw.cmake index b9ed13af2..89a7768ad 100644 --- a/cmake/glfw.cmake +++ b/cmake/glfw.cmake @@ -12,7 +12,6 @@ target_sources(mbgl-glfw PRIVATE platform/glfw/glfw_renderer_frontend.cpp PRIVATE platform/glfw/settings_json.hpp PRIVATE platform/glfw/settings_json.cpp - PRIVATE platform/default/include/mbgl/util/default_styles.hpp ) target_include_directories(mbgl-glfw diff --git a/cmake/offline.cmake b/cmake/offline.cmake index 1f5cc60f7..5a6d4e04c 100644 --- a/cmake/offline.cmake +++ b/cmake/offline.cmake @@ -2,10 +2,6 @@ add_executable(mbgl-offline bin/offline.cpp ) -target_sources(mbgl-offline - PRIVATE platform/default/include/mbgl/util/default_styles.hpp -) - target_include_directories(mbgl-offline PRIVATE platform/default/include ) diff --git a/platform/default/include/mbgl/util/default_styles.hpp b/include/mbgl/util/default_styles.hpp similarity index 100% rename from platform/default/include/mbgl/util/default_styles.hpp rename to include/mbgl/util/default_styles.hpp diff --git a/platform/ios/core-files.json b/platform/ios/core-files.json index 93fdfc80b..67edda973 100644 --- a/platform/ios/core-files.json +++ b/platform/ios/core-files.json @@ -25,8 +25,7 @@ "mbgl/gfx/headless_backend.hpp": "platform/default/include/mbgl/gfx/headless_backend.hpp", "mbgl/gfx/headless_frontend.hpp": "platform/default/include/mbgl/gfx/headless_frontend.hpp", "mbgl/gl/headless_backend.hpp": "platform/default/include/mbgl/gl/headless_backend.hpp", - "mbgl/map/map_snapshotter.hpp": "platform/default/include/mbgl/map/map_snapshotter.hpp", - "mbgl/util/default_styles.hpp": "platform/default/include/mbgl/util/default_styles.hpp" + "mbgl/map/map_snapshotter.hpp": "platform/default/include/mbgl/map/map_snapshotter.hpp" }, "private_headers": { "CFHandle.hpp": "platform/darwin/src/CFHandle.hpp" diff --git a/platform/qt/qt.cmake b/platform/qt/qt.cmake index 33acb7a03..5d9886a04 100644 --- a/platform/qt/qt.cmake +++ b/platform/qt/qt.cmake @@ -75,7 +75,6 @@ add_library(qmapboxgl SHARED platform/qt/src/qmapboxgl_renderer_backend.hpp platform/qt/src/qmapboxgl_scheduler.cpp platform/qt/src/qmapboxgl_scheduler.hpp - platform/default/include/mbgl/util/default_styles.hpp ) target_include_directories(qmapboxgl diff --git a/src/core-files.json b/src/core-files.json index 9453e504b..f4f2dd2c4 100644 --- a/src/core-files.json +++ b/src/core-files.json @@ -463,6 +463,7 @@ "mbgl/util/compression.hpp": "include/mbgl/util/compression.hpp", "mbgl/util/constants.hpp": "include/mbgl/util/constants.hpp", "mbgl/util/convert.hpp": "include/mbgl/util/convert.hpp", + "mbgl/util/default_styles.hpp": "include/mbgl/util/default_styles.hpp", "mbgl/util/enum.hpp": "include/mbgl/util/enum.hpp", "mbgl/util/event.hpp": "include/mbgl/util/event.hpp", "mbgl/util/exception.hpp": "include/mbgl/util/exception.hpp",