Configure CPack to use all available threads

It doesn't have any effect with the 7Z generator that's used on Windows, but I've added it for Windows anyway in case that changes in a future version of CMake.
This commit is contained in:
Oliver Hamlet
2025-05-12 08:54:20 +01:00
parent f29f6cd0f6
commit 21d86a328f
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -88,6 +88,7 @@ jobs:
cmake \
-DCMAKE_PREFIX_PATH="${{ steps.boost-metadata.outputs.root }}\stage" \
-DCPACK_PACKAGE_VERSION="${{ steps.get-libloot-version.outputs.version }}" \
-DCPACK_THREADS=0 \
-B build
cmake --build build --parallel
@@ -195,6 +196,7 @@ jobs:
-A ${{ matrix.platform }} `
-DCMAKE_PREFIX_PATH="${{ steps.boost-metadata.outputs.root }}\stage" `
-DCPACK_PACKAGE_VERSION="${{ steps.get-libloot-version.outputs.version }}" `
-DCPACK_THREADS=0 `
-B build
cmake --build build --parallel --config ${{ env.MSVC_CONFIG }}
+1
View File
@@ -90,6 +90,7 @@ jobs:
-A ${{ matrix.platform }} `
-DCMAKE_PREFIX_PATH="${{ steps.boost-metadata.outputs.root }}\stage" `
-DCPACK_PACKAGE_VERSION="${{ needs.create_release.outputs.git_tag }}" `
-DCPACK_THREADS=0 `
-B build
cmake --build build --parallel --config ${{ env.MSVC_CONFIG }}