[cmake] don't REQUIRE externals deps in root, add boost_headers (#265)

boost_headers is actually required for some distros apparently (notably
Arch, thanks username227 for spotting it), forces the bundled package
for it as well

AUR cpp-httplib also does not work with this for some reason, so in
order to support `CMAKE_DISABLE_FIND_PACKAGE_httplib` (required for
Arch if `cpp-httplib` is installed there), removes REQUIRED from the
external propagation calls (wasn't needed anyway idk why I added it)

I really wish we had more Arch developers tbh

Signed-off-by: crueter <crueter@eden-emu.dev>

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/265
Reviewed-by: Lizzie <lizzie@eden-emu.dev>
This commit is contained in:
crueter 2025-08-15 00:35:28 +02:00
parent 3e55dc6352
commit 9ea4e89607
No known key found for this signature in database
GPG key ID: 425ACD2D4830EBC6
2 changed files with 16 additions and 5 deletions

View file

@ -616,16 +616,16 @@ endfunction()
add_subdirectory(externals)
# pass targets from externals
find_package(VulkanHeaders REQUIRED)
find_package(VulkanUtilityLibraries REQUIRED)
find_package(VulkanMemoryAllocator REQUIRED)
find_package(VulkanHeaders)
find_package(VulkanUtilityLibraries)
find_package(VulkanMemoryAllocator)
if (ENABLE_WEB_SERVICE)
find_package(httplib REQUIRED)
find_package(httplib)
endif()
if (ENABLE_WEB_SERVICE OR ENABLE_QT_UPDATE_CHECKER)
find_package(cpp-jwt REQUIRED)
find_package(cpp-jwt)
endif()
if (NOT YUZU_USE_BUNDLED_SDL2)