summaryrefslogtreecommitdiff
path: root/cmake/filesource.cmake
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2018-08-13 16:29:14 -0700
committerKonstantin Käfer <mail@kkaefer.com>2018-08-14 17:03:46 -0700
commit6e06e55b95fdb9070d32d44786441255871dbb0b (patch)
treed9e074da720f8339966c99ded803f4f59a83b68e /cmake/filesource.cmake
parent89515de769aea0b54a800514f7deaf65649d9d54 (diff)
downloadqtlocation-mapboxgl-6e06e55b95fdb9070d32d44786441255871dbb0b.tar.gz
WIP: use expected<T, E> for passing on errors
Diffstat (limited to 'cmake/filesource.cmake')
-rw-r--r--cmake/filesource.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/filesource.cmake b/cmake/filesource.cmake
index ccd2192f39..9b7a4a1138 100644
--- a/cmake/filesource.cmake
+++ b/cmake/filesource.cmake
@@ -1,3 +1,5 @@
+add_vendor_target(expected INTERFACE)
+
add_library(mbgl-filesource STATIC
# File source
include/mbgl/storage/default_file_source.hpp
@@ -39,6 +41,7 @@ target_include_directories(mbgl-filesource
target_link_libraries(mbgl-filesource
PUBLIC mbgl-core
+ PUBLIC expected
)
mbgl_filesource()