mirror of
https://github.com/PDB-REDO/dssp.git
synced 2026-06-04 13:44:21 +08:00
On Ubuntu, use system boost
This commit is contained in:
2
.github/workflows/cmake-multi-platform.yml
vendored
2
.github/workflows/cmake-multi-platform.yml
vendored
@@ -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
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user