From be8a5e1df123bbed18947891adf318c7d760e016 Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Mon, 29 Sep 2025 16:57:43 +0200 Subject: [PATCH] Workaround CMake build failures --- .github/workflows/ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f635bf7..64523f9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -454,7 +454,15 @@ jobs: cd "$(mktemp -d)" wget https://cmake.org/files/v${version%.*}/$filename tar -xf $filename --strip-components=1 - cmake -B __build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/tmp/cmake . + flags=( + "-DCMAKE_BUILD_TYPE=Release" + "-DCMAKE_INSTALL_PREFIX=/tmp/cmake" + "-B" "__build" + "-Wno-dev" # Make configuring more silent + "-DCMAKE_USE_SYSTEM_CURL=1" # Avoid failures caused by newer (system) OpenSSL in CMake < 3.10 + "-DCMAKE_CXX_FLAGS='-include cstdint -include limits'" # Fix missing includes in CMake < 3.10 + ) + cmake "${flags[@]}" . cmake --build __build -- -j 3 cmake --build __build --target install