Browse Source

[cmake] proper link to Boost::context

Signed-off-by: crueter <crueter@eden-emu.dev>
pull/2926/head
crueter 4 months ago
committed by JPikachu
parent
commit
c8c0484108
  1. 8
      CMakeLists.txt

8
CMakeLists.txt

@ -470,6 +470,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
@ -532,7 +534,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…
Cancel
Save