diff options
author | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2018-11-07 11:50:12 +0200 |
---|---|---|
committer | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2018-11-08 14:19:23 +0200 |
commit | 86d2e928f200613da4232e7a53070c35a5848f02 (patch) | |
tree | 5e5c1182a1235cbae55fef05b3538c47b54cc19c /cmake/benchmark.cmake | |
parent | 7cee81abfa12ab4897de45188b787a43f652ef9f (diff) | |
download | qtlocation-mapboxgl-86d2e928f200613da4232e7a53070c35a5848f02.tar.gz |
[core] Vendor libbenchmark
Prebuilt binaries for libbenchmark might be incompatible with some
environments, for example, when mbgl-benchmark target is compiled
on host with GCC and linked against mason's clang 5.0 compiled binaries.
Vendored libbenchmark avoids aforementioned issue, as the target and
the binary compiled with same compiler / options.
Diffstat (limited to 'cmake/benchmark.cmake')
-rw-r--r-- | cmake/benchmark.cmake | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cmake/benchmark.cmake b/cmake/benchmark.cmake index dd47766b9e..b5452a573a 100644 --- a/cmake/benchmark.cmake +++ b/cmake/benchmark.cmake @@ -11,10 +11,9 @@ target_include_directories(mbgl-benchmark target_link_libraries(mbgl-benchmark PRIVATE mbgl-core + PRIVATE benchmark ) -target_add_mason_package(mbgl-benchmark PRIVATE benchmark) - mbgl_platform_benchmark() create_source_groups(mbgl-benchmark) |