[cmake] proper link to Boost::context
Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
parent
0c77f965db
commit
387dd95404
1 changed files with 7 additions and 1 deletions
|
|
@ -475,6 +475,8 @@ if (YUZU_USE_CPM)
|
|||
target_compile_options(boost_icl INTERFACE -Wno-shadow)
|
||||
target_compile_options(boost_asio INTERFACE -Wno-conversion -Wno-implicit-fallthrough)
|
||||
endif()
|
||||
elseif (PLATFORM_LINUX OR APPLE)
|
||||
find_package(Boost 1.57.0 REQUIRED headers context system fiber)
|
||||
endif()
|
||||
|
||||
# fmt
|
||||
|
|
@ -537,7 +539,11 @@ else()
|
|||
find_package(zstd 1.5 REQUIRED MODULE)
|
||||
|
||||
# wow
|
||||
find_package(Boost 1.57.0 CONFIG REQUIRED OPTIONAL_COMPONENTS headers context system fiber)
|
||||
if (PLATFORM_LINUX OR APPLE)
|
||||
find_package(Boost 1.57.0 REQUIRED headers context system fiber)
|
||||
else()
|
||||
find_package(Boost 1.57.0 REQUIRED)
|
||||
endif()
|
||||
|
||||
if (CMAKE_SYSTEM_NAME STREQUAL "Linux" OR ANDROID)
|
||||
find_package(gamemode 1.7 MODULE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue