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/boost.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/boost.cmake')
-rw-r--r-- | vendor/boost.cmake | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/vendor/boost.cmake b/vendor/boost.cmake index 7c30a8d90e..33b203368e 100644 --- a/vendor/boost.cmake +++ b/vendor/boost.cmake @@ -1,5 +1,9 @@ -add_library(boost INTERFACE) +if(TARGET mbgl-vendor-boost) + return() +endif() -target_include_directories(boost SYSTEM INTERFACE - ${CMAKE_SOURCE_DIR}/vendor/boost/include +add_library(mbgl-vendor-boost INTERFACE) + +target_include_directories(mbgl-vendor-boost SYSTEM INTERFACE + ${CMAKE_CURRENT_LIST_DIR}/boost/include ) |