Skip to content

Commit

Permalink
[ci] Try to always find boost even when cross-compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Jul 31, 2023
1 parent e068ddc commit 1fad001
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/deps/boost.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 1fad001

Please sign in to comment.