From e3b505be312cd4fecbd4a1d8d4e7ef8f0452ee73 Mon Sep 17 00:00:00 2001 From: "Maarten L. Hekkelman" Date: Thu, 15 May 2025 08:43:41 +0200 Subject: [PATCH] On Ubuntu, use system boost --- .github/workflows/cmake-multi-platform.yml | 2 +- python-module/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index 07783b6..0b8eec1 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -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 diff --git a/python-module/CMakeLists.txt b/python-module/CMakeLists.txt index f4cd3d1..2a62c53 100644 --- a/python-module/CMakeLists.txt +++ b/python-module/CMakeLists.txt @@ -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'