summaryrefslogtreecommitdiff
path: root/vendor
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2020-02-14 00:33:22 +0200
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2020-03-23 23:04:51 +0200
commit1adc436c9d883663b2d6fb0cb9014043fa7bc2b6 (patch)
treec4f9b3e19aeaf956cfc8f338497e463868c7d95a /vendor
parent3e173e1b7190b0becb95e8689bccffb1704b697a (diff)
downloadqtlocation-mapboxgl-1adc436c9d883663b2d6fb0cb9014043fa7bc2b6.tar.gz
[test] Include cpp-httplib as a system library
This way it will not get warnings by linters and -Werror.
Diffstat (limited to 'vendor')
-rw-r--r--vendor/cpp-httplib.cmake12
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/cpp-httplib.cmake b/vendor/cpp-httplib.cmake
new file mode 100644
index 0000000000..204dbabbb3
--- /dev/null
+++ b/vendor/cpp-httplib.cmake
@@ -0,0 +1,12 @@
+if(TARGET mbgl-vendor-cpp-httplib)
+ return()
+endif()
+
+add_library(
+ mbgl-vendor-cpp-httplib INTERFACE
+)
+
+target_include_directories(
+ mbgl-vendor-cpp-httplib SYSTEM
+ INTERFACE ${CMAKE_CURRENT_LIST_DIR}/cpp-httplib
+)