cmake: remove headers requirement from boost

While the boost headers are obviously still necessary, this avoids the following warning that made it fall back to the external
boost:

CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:2216 (message):
  No header defined for headers; skipping header check (note: header-only
  libraries have no designated component)
Call Stack (most recent call first):
  CMakeLists.txt:212 (find_package)
This commit is contained in:
voidanix
2022-02-16 12:52:43 +01:00
parent 0e9d5b9b5c
commit fac4b7783c

View File

@@ -209,7 +209,7 @@ macro(yuzu_find_packages)
endmacro()
if (NOT YUZU_USE_BUNDLED_BOOST)
find_package(Boost 1.73.0 COMPONENTS context headers)
find_package(Boost 1.73.0 COMPONENTS context)
endif()
if (Boost_FOUND)
set(Boost_LIBRARIES Boost::boost)