From 761206cf81b271f7f4dd6a167a120325b760dbf3 Mon Sep 17 00:00:00 2001 From: bunnei Date: Sat, 12 Dec 2020 11:50:07 -0800 Subject: [PATCH] common: Update CMakeList to fix build issue with Boost. --- src/common/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index 56c7e21f5..0981fe90b 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -209,9 +209,8 @@ else() endif() create_target_directory_groups(common) -find_package(Boost 1.71 COMPONENTS context headers REQUIRED) -target_link_libraries(common PUBLIC ${Boost_LIBRARIES} fmt::fmt microprofile) +target_link_libraries(common PUBLIC Boost::boost fmt::fmt microprofile) target_link_libraries(common PRIVATE lz4::lz4 xbyak) if (MSVC) target_link_libraries(common PRIVATE zstd::zstd)