On Ubuntu, use system boost

This commit is contained in:
Maarten L. Hekkelman
2025-05-15 08:43:41 +02:00
parent e3c7b0598e
commit e3b505be31
2 changed files with 2 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ jobs:
- name: Install Catch2 Ubuntu
if: matrix.os == 'ubuntu-latest'
run: >
sudo apt-get update && sudo apt-get install catch2 libpython3-all-dev
sudo apt-get update && sudo apt-get install catch2 libpython3-all-dev libboost1.83-all-dev
- name: setup python
uses: actions/setup-python@v5

View File

@@ -29,7 +29,7 @@ if(CMAKE_VERSION GREATER_EQUAL 3.30)
endif()
find_package(Python REQUIRED COMPONENTS Interpreter Development)
find_package(Boost 1.84 QUIET COMPONENTS python)
find_package(Boost 1.83 QUIET COMPONENTS python)
if(NOT Boost_FOUND)
# boost is a huge project and directly downloading the 'alternate release'