diff --git a/CMakeLists.txt b/CMakeLists.txt index 22dbb6106e..3f324667a9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -227,7 +227,7 @@ if(BUILD_BASEMQ OR BUILD_EXAMPLES OR BUILD_TESTING) list(APPEND boost_dependencies filesystem serialization program_options) endif() if(BUILD_EXAMPLES) - list(APPEND boost_dependencies program_options) + list(APPEND boost_dependencies program_options serialization) endif() if(BUILD_TESTING) list(APPEND boost_dependencies filesystem)