From fac4b7783c86e97c184b3fd6d9eb773b2eb823cc Mon Sep 17 00:00:00 2001 From: voidanix <51296985+voidanix@users.noreply.github.com> Date: Wed, 16 Feb 2022 12:52:43 +0100 Subject: [PATCH] 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) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 277f03a407..237413ac29 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)