diff options
author | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2019-07-23 17:35:43 +0300 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2019-09-17 12:28:55 +0300 |
commit | 8ee6cfa8fb022a7319ce83e795f4ff0d7e747ad7 (patch) | |
tree | fa7315445fd2808c35ac852f186ca592ba56b898 /vendor/protozero.cmake | |
parent | e3421e042fe720d4d7b13457c4597921f31f3bcd (diff) | |
download | qtlocation-mapboxgl-8ee6cfa8fb022a7319ce83e795f4ff0d7e747ad7.tar.gz |
[build] Cosmetics on vendor packages
- Add include guards on all the files
- Add a vendor package for sqlite and gtest
- Use relative paths to all the files
Diffstat (limited to 'vendor/protozero.cmake')
-rw-r--r-- | vendor/protozero.cmake | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/vendor/protozero.cmake b/vendor/protozero.cmake index e4f32f1ace..41af37f188 100644 --- a/vendor/protozero.cmake +++ b/vendor/protozero.cmake @@ -1,5 +1,9 @@ -add_library(protozero INTERFACE) +if(TARGET mbgl-vendor-protozero) + return() +endif() -target_include_directories(protozero SYSTEM INTERFACE - ${CMAKE_SOURCE_DIR}/vendor/protozero/include +add_library(mbgl-vendor-protozero INTERFACE) + +target_include_directories(mbgl-vendor-protozero SYSTEM INTERFACE + ${CMAKE_CURRENT_LIST_DIR}/protozero/include ) |