From ee2aa0cbbf38e9a9ec36ca972c2052559a20c0cd Mon Sep 17 00:00:00 2001 From: Robin Getz Date: Sat, 3 Oct 2026 23:10:31 -0400 Subject: [PATCH 1/2] CMake: Set CMP0177 to NEW Explicitly select normalized install() DESTINATION path behavior introduced in CMake 3.31. This removes redundant path components such as "." from install destinations while preserving their installation locations and reduces warnings on Windows-x64 builds. Signed-off-by: Robin Getz --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index a16ec1d07..b31ee710c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,8 @@ message(STATUS "cmake version: ${CMAKE_VERSION}") cmake_minimum_required(VERSION 3.17.0) +if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.31") + cmake_policy(SET CMP0177 NEW) +endif() set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$:Debug>DLL") From 95983d521f121ea3b4b8ad75a71264a25cb297ae Mon Sep 17 00:00:00 2001 From: Robin Getz Date: Sun, 4 Oct 2026 00:10:17 -0400 Subject: [PATCH 2/2] CI: Separate Windows build and package steps Run the Windows build to completion before invoking the CPack package target. This avoids a file-access race in which fixup_bundle() attempts to inspect runtime DLLs in the build/bin directory while DLL-copy commands may still be running. The separate steps eliminate the observed libsigmf.dll access failure with Ninja. The underlying build-ordering issue has not yet been identified. Signed-off-by: Robin Getz --- .github/workflows/sdrangel.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/sdrangel.yml b/.github/workflows/sdrangel.yml index 13deaad3b..15430ab35 100644 --- a/.github/workflows/sdrangel.yml +++ b/.github/workflows/sdrangel.yml @@ -94,6 +94,7 @@ jobs: choco install patch mkdir build && cd build cmake .. -G "${{ matrix.config.generators }}" -DCMAKE_BUILD_TYPE=Release -DENABLE_QT6=ON -DARCH_OPT=SSE4_2 -DDEBUG_OUTPUT=ON -DENABLE_MIRISDR=OFF -DBUILD_SERVER=OFF -DCMAKE_PREFIX_PATH="C:\Qt\6.9.3\msvc2022_64;C:\Libraries\boost_1_73_0" + cmake --build . --config Release cmake --build . --config Release --target package - name: Check disk space run: Get-PSDrive