mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-10-07 14:26:36 +00:00
[cmake, compat] fix solaris boost build once and for all (#364)
Signed-off-by: lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/364 Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Reviewed-by: crueter <crueter@eden-emu.dev> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
+4
-2
@@ -406,8 +406,10 @@ if (YUZU_USE_CPM)
|
|||||||
|
|
||||||
if (NOT MSVC)
|
if (NOT MSVC)
|
||||||
# boost sucks
|
# boost sucks
|
||||||
if (NOT PLATFORM_LINUX AND NOT ANDROID)
|
# Solaris (and probably other NIXes) need explicit pthread definition
|
||||||
target_compile_definitions(boost_container INTERFACE BOOST_HAS_PTHREADS)
|
if (PLATFORM_SUN)
|
||||||
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthreads")
|
||||||
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthreads")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_compile_options(boost_heap INTERFACE -Wno-shadow)
|
target_compile_options(boost_heap INTERFACE -Wno-shadow)
|
||||||
|
|||||||
Reference in New Issue
Block a user