From 7e9ffe4fabc516f21072199616d36100ec965894 Mon Sep 17 00:00:00 2001 From: crueter Date: Wed, 27 Aug 2025 16:01:26 -0400 Subject: [PATCH] [cmake] boost: define BOOST_HAS_PTHREADS for bsd/solaris Signed-off-by: crueter --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 18c68c8a11..d11b58bf1f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -407,7 +407,7 @@ if (YUZU_USE_CPM) if (NOT MSVC) # boost sucks if (NOT PLATFORM_LINUX AND NOT ANDROID) - target_compile_options(boost_container INTERFACE -pthread) + target_compile_definitions(boost_container INTERFACE BOOST_HAS_PTHREADS) endif() target_compile_options(boost_heap INTERFACE -Wno-shadow)