diff options
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 ) |