[cmake] boost: define BOOST_HAS_PTHREADS for bsd/solaris
Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
parent
e34a28a7c6
commit
7e9ffe4fab
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue