[cmake] boost: define BOOST_HAS_PTHREADS for bsd/solaris

Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
crueter 2025-08-27 16:01:26 -04:00
parent e34a28a7c6
commit 7e9ffe4fab

View file

@ -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)