diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2017-03-28 20:48:48 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2017-03-28 21:24:12 +0200 |
commit | c86b492bf7df62f8c09ec565b7ccfb4cd2bfcc79 (patch) | |
tree | 347e72a74742cb4f2663c62db4f658c2c8b44d60 /cmake | |
parent | b3ffeceb9e0077fc81330a411a2ae1b590ec8dd6 (diff) | |
download | qtlocation-mapboxgl-c86b492bf7df62f8c09ec565b7ccfb4cd2bfcc79.tar.gz |
[build] don't advertise headers that aren't used in public headers
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/core.cmake | 2 | ||||
-rw-r--r-- | cmake/loop-darwin.cmake | 2 | ||||
-rw-r--r-- | cmake/loop-uv.cmake | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/cmake/core.cmake b/cmake/core.cmake index a687b020dc..78800a4838 100644 --- a/cmake/core.cmake +++ b/cmake/core.cmake @@ -14,7 +14,7 @@ target_include_directories(mbgl-core target_add_mason_package(mbgl-core PUBLIC geometry) target_add_mason_package(mbgl-core PUBLIC variant) -target_add_mason_package(mbgl-core PUBLIC unique_resource) +target_add_mason_package(mbgl-core PRIVATE unique_resource) target_add_mason_package(mbgl-core PRIVATE rapidjson) target_add_mason_package(mbgl-core PRIVATE boost) target_add_mason_package(mbgl-core PRIVATE geojson) diff --git a/cmake/loop-darwin.cmake b/cmake/loop-darwin.cmake index 91fb74e00e..c16d0de3ac 100644 --- a/cmake/loop-darwin.cmake +++ b/cmake/loop-darwin.cmake @@ -12,7 +12,7 @@ target_compile_options(mbgl-loop-darwin ) target_include_directories(mbgl-loop-darwin - PUBLIC include + PRIVATE include PRIVATE src ) diff --git a/cmake/loop-uv.cmake b/cmake/loop-uv.cmake index 9844daf205..b7757c719a 100644 --- a/cmake/loop-uv.cmake +++ b/cmake/loop-uv.cmake @@ -10,7 +10,7 @@ target_compile_options(mbgl-loop-uv ) target_include_directories(mbgl-loop-uv - PUBLIC include + PRIVATE include PRIVATE src ) |