summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2017-03-22 14:20:35 +0100
committerKonstantin Käfer <mail@kkaefer.com>2017-03-28 13:53:19 +0200
commita84aa453a9124867cb285f012abd97077ab2a019 (patch)
tree6181d5a39960df96e6dcd2d5c9d905c537b964fe /cmake
parent3f0f4575e77ef289ca209323c0000cf743ab9db2 (diff)
downloadqtlocation-mapboxgl-a84aa453a9124867cb285f012abd97077ab2a019.tar.gz
[core] Privatize OpenGL/Context headers
Diffstat (limited to 'cmake')
-rw-r--r--cmake/benchmark.cmake1
-rw-r--r--cmake/core.cmake2
-rw-r--r--cmake/glfw.cmake2
-rw-r--r--cmake/test.cmake1
4 files changed, 1 insertions, 5 deletions
diff --git a/cmake/benchmark.cmake b/cmake/benchmark.cmake
index c3b5c93937..c298d8ee28 100644
--- a/cmake/benchmark.cmake
+++ b/cmake/benchmark.cmake
@@ -7,7 +7,6 @@ target_compile_options(mbgl-benchmark
)
target_include_directories(mbgl-benchmark
- PRIVATE include
PRIVATE src
PRIVATE benchmark/include
PRIVATE benchmark/src
diff --git a/cmake/core.cmake b/cmake/core.cmake
index 723139e368..a687b020dc 100644
--- a/cmake/core.cmake
+++ b/cmake/core.cmake
@@ -9,7 +9,7 @@ target_compile_options(mbgl-core
target_include_directories(mbgl-core
PUBLIC include
- PUBLIC src # TODO: make private
+ PRIVATE src
)
target_add_mason_package(mbgl-core PUBLIC geometry)
diff --git a/cmake/glfw.cmake b/cmake/glfw.cmake
index cdde92bbf2..ba6ba92e9f 100644
--- a/cmake/glfw.cmake
+++ b/cmake/glfw.cmake
@@ -16,8 +16,6 @@ target_compile_options(mbgl-glfw
)
target_include_directories(mbgl-glfw
- PRIVATE include
- PRIVATE src # TODO: eliminate
PRIVATE platform/default
)
diff --git a/cmake/test.cmake b/cmake/test.cmake
index 16b7d630e2..5e77de2448 100644
--- a/cmake/test.cmake
+++ b/cmake/test.cmake
@@ -15,7 +15,6 @@ target_compile_options(mbgl-test
set_source_files_properties(test/src/mbgl/test/util.cpp PROPERTIES COMPILE_FLAGS -DNODE_EXECUTABLE="${NodeJS_EXECUTABLE}")
target_include_directories(mbgl-test
- PRIVATE include
PRIVATE src
PRIVATE test/include
PRIVATE test/src