mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
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:
@@ -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 }}
|
||||
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user