Skip to content

Commit fab6710

Browse files
authored
Merge pull request #8611 from tautschnig/cmake-min-version-fix
Use same CMake minimum version in DownloadProject configuration
2 parents cd39b3a + 6cbc63b commit fab6710

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: .github/workflows/pull-request-checks.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
- name: Build with make
5252
run: |
5353
git clone https://github.com/conp-solutions/riss riss.git
54-
cmake -Hriss.git -Briss.git/release -DCMAKE_BUILD_TYPE=Release
54+
cmake -Hriss.git -Briss.git/release -DCMAKE_BUILD_TYPE=Release -DCMAKE_POLICY_VERSION_MINIMUM=3.5
5555
make -C riss.git/release riss-coprocessor-lib-static -j${{env.linux-vcpus}}
5656
make -C src -j${{env.linux-vcpus}} CXX="ccache g++" LIBS="$PWD/riss.git/release/lib/libriss-coprocessor.a -lpthread" IPASIR=$PWD/riss.git/riss
5757
make -C jbmc/src -j${{env.linux-vcpus}} CXX="ccache g++" LIBS="$PWD/riss.git/release/lib/libriss-coprocessor.a -lpthread" IPASIR=$PWD/riss.git/riss

Diff for: cmake/DownloadProject.CMakeLists.cmake.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Distributed under the OSI-approved MIT License. See accompanying
22
# file LICENSE or https://github.com/Crascit/DownloadProject for details.
33

4-
cmake_minimum_required(VERSION 2.8.2)
4+
cmake_minimum_required(VERSION 3.8)
55

66
project(${DL_ARGS_PROJ}-download NONE)
77

0 commit comments

Comments
 (0)