Support both locally and system installed libboost

Reviewers: teon.banek

Reviewed By: teon.banek

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D1071
This commit is contained in:
florijan 2017-12-20 14:45:56 +01:00
parent 5f7837d613
commit 312016ca31

View File

@ -54,7 +54,7 @@ set(memgraph_src_files
# memgraph_lib depend on these libraries
set(MEMGRAPH_ALL_LIBS stdc++fs Threads::Threads fmt cppitertools cereal
antlr_opencypher_parser_lib dl glog gflags Boost::serialization)
antlr_opencypher_parser_lib dl glog gflags ${Boost_SERIALIZATION_LIBRARY_RELEASE})
if (USE_LTALLOC)
list(APPEND MEMGRAPH_ALL_LIBS ltalloc)