[cmake] proper link to Boost::context
Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
parent
d42af8a05a
commit
0ab8ed90bd
1 changed files with 3 additions and 1 deletions
|
@ -427,6 +427,8 @@ if (YUZU_USE_CPM)
|
||||||
target_compile_options(boost_icl INTERFACE -Wno-shadow)
|
target_compile_options(boost_icl INTERFACE -Wno-shadow)
|
||||||
target_compile_options(boost_asio INTERFACE -Wno-conversion -Wno-implicit-fallthrough)
|
target_compile_options(boost_asio INTERFACE -Wno-conversion -Wno-implicit-fallthrough)
|
||||||
endif()
|
endif()
|
||||||
|
elseif (PLATFORM_LINUX OR APPLE)
|
||||||
|
find_package(Boost 1.57.0 REQUIRED headers context system fiber)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# fmt
|
# fmt
|
||||||
|
@ -488,7 +490,7 @@ else()
|
||||||
find_package(zstd 1.5 REQUIRED MODULE)
|
find_package(zstd 1.5 REQUIRED MODULE)
|
||||||
|
|
||||||
# wow
|
# wow
|
||||||
if (PLATFORM_LINUX)
|
if (PLATFORM_LINUX OR APPLE)
|
||||||
find_package(Boost 1.57.0 REQUIRED headers context system fiber)
|
find_package(Boost 1.57.0 REQUIRED headers context system fiber)
|
||||||
else()
|
else()
|
||||||
find_package(Boost 1.57.0 REQUIRED)
|
find_package(Boost 1.57.0 REQUIRED)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue