From 1fad00182ce2739cc3e622693ac4a79996f1d083 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Micha=C3=ABl=20Celerier?= Date: Mon, 31 Jul 2023 13:12:38 -0400 Subject: [PATCH] [ci] Try to always find boost even when cross-compiling --- cmake/deps/boost.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/deps/boost.cmake b/cmake/deps/boost.cmake index 9eb2afe7351..f171c264885 100644 --- a/cmake/deps/boost.cmake +++ b/cmake/deps/boost.cmake @@ -21,6 +21,8 @@ if (NOT Boost_FOUND AND NOT OSSIA_USE_SYSTEM_LIBRARIES) endif() set(BOOST_ROOT "${OSSIA_3RDPARTY_FOLDER}/${BOOST_VERSION}" CACHE INTERNAL "") set(Boost_INCLUDE_DIR "${BOOST_ROOT}") + list(APPEND CMAKE_FIND_ROOT_PATH "${BOOST_ROOT}") + find_package(Boost 1.${BOOST_MINOR_LATEST} REQUIRED GLOBAL) endif()