From 0ab8ed90bd84a4f30476208d5485cef79453d99e Mon Sep 17 00:00:00 2001 From: crueter Date: Fri, 3 Oct 2025 23:07:40 -0400 Subject: [PATCH] [cmake] proper link to Boost::context Signed-off-by: crueter --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b397ba01aa..9488833e27 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -427,6 +427,8 @@ if (YUZU_USE_CPM) target_compile_options(boost_icl INTERFACE -Wno-shadow) target_compile_options(boost_asio INTERFACE -Wno-conversion -Wno-implicit-fallthrough) endif() + elseif (PLATFORM_LINUX OR APPLE) + find_package(Boost 1.57.0 REQUIRED headers context system fiber) endif() # fmt @@ -488,7 +490,7 @@ else() find_package(zstd 1.5 REQUIRED MODULE) # wow - if (PLATFORM_LINUX) + if (PLATFORM_LINUX OR APPLE) find_package(Boost 1.57.0 REQUIRED headers context system fiber) else() find_package(Boost 1.57.0 REQUIRED)