summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rw-r--r--cmake/core-files.cmake5
-rw-r--r--cmake/node.cmake1
-rw-r--r--cmake/render.cmake1
3 files changed, 2 insertions, 5 deletions
diff --git a/cmake/core-files.cmake b/cmake/core-files.cmake
index a49b8e5348..4c50911b81 100644
--- a/cmake/core-files.cmake
+++ b/cmake/core-files.cmake
@@ -137,11 +137,6 @@ set(MBGL_CORE_FILES
src/mbgl/platform/event.cpp
src/mbgl/platform/log.cpp
- # platform/default
- include/mbgl/platform/default/headless_backend.hpp
- include/mbgl/platform/default/headless_display.hpp
- include/mbgl/platform/default/offscreen_view.hpp
-
# programs
src/mbgl/programs/attributes.hpp
src/mbgl/programs/circle_program.cpp
diff --git a/cmake/node.cmake b/cmake/node.cmake
index 8dd95a9419..bb3112cc09 100644
--- a/cmake/node.cmake
+++ b/cmake/node.cmake
@@ -29,6 +29,7 @@ target_compile_options(mbgl-node
target_include_directories(mbgl-node
PRIVATE src # TODO: eliminate
+ PRIVATE platform/default
)
target_link_libraries(mbgl-node
diff --git a/cmake/render.cmake b/cmake/render.cmake
index f1b09b3c47..395a106642 100644
--- a/cmake/render.cmake
+++ b/cmake/render.cmake
@@ -9,6 +9,7 @@ target_compile_options(mbgl-render
target_include_directories(mbgl-render
PRIVATE include
PRIVATE src # TODO: eliminate
+ PRIVATE platform/default
)
target_link_libraries(mbgl-render