summaryrefslogtreecommitdiff
path: root/cmake/offline.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/offline.cmake')
-rw-r--r--cmake/offline.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmake/offline.cmake b/cmake/offline.cmake
index 1dc67f7887..23824e6bdf 100644
--- a/cmake/offline.cmake
+++ b/cmake/offline.cmake
@@ -2,6 +2,11 @@ add_executable(mbgl-offline
bin/offline.cpp
)
+target_sources(mbgl-offline
+ PRIVATE platform/default/mbgl/util/default_styles.hpp
+ PRIVATE platform/default/mbgl/util/default_styles.cpp
+)
+
target_compile_options(mbgl-offline
PRIVATE -fvisibility-inlines-hidden
)
@@ -9,6 +14,7 @@ target_compile_options(mbgl-offline
target_include_directories(mbgl-offline
PRIVATE include
PRIVATE src # TODO: eliminate
+ PRIVATE platform/default
)
target_link_libraries(mbgl-offline