Fix Android build by conditionally excluding boost_process component

- Add Android check to only request boost context component on Android

Signed-off-by: Zephyron <zephyron@citron-emu.org>
This commit is contained in:
Zephyron
2025-09-27 11:52:46 +10:00
parent 274b027668
commit 9e6956a93f

View File

@@ -305,7 +305,11 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin)
# =======================================================================
# Enforce the search mode of non-required packages for better and shorter failure messages
if(ANDROID)
find_package(Boost 1.79.0 REQUIRED context)
else()
find_package(Boost 1.79.0 REQUIRED context process)
endif()
find_package(enet 1.3 MODULE)
find_package(fmt 9 REQUIRED)
find_package(LLVM 17.0.2 MODULE COMPONENTS Demangle)