Fix using system boost (#5424)

closes #5234
This commit is contained in:
Marshall Mohror 2020-06-23 21:30:35 -05:00 committed by GitHub
parent e79de3107e
commit c4a4b40b2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -344,7 +344,7 @@ add_subdirectory(externals)
# Boost
if (USE_SYSTEM_BOOST)
find_package(Boost 1.70.0 QUIET REQUIRED)
find_package(Boost 1.70.0 COMPONENTS serialization REQUIRED)
else()
add_library(Boost::boost ALIAS boost)
add_library(Boost::serialization ALIAS boost_serialization)