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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user