Skip to content

Commit

Permalink
Use CMAKE_CONFIGURATION_TYPES bc VS is multiconfig
Browse files Browse the repository at this point in the history
Co-authored-by: Abdoulbari Zaher  <32519851+a-zakir@users.noreply.github.com>
  • Loading branch information
pet-mit and a-zakir authored Feb 3, 2025
1 parent 19f71ec commit 14b81f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/windows-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
run: >
cmake -S. -Bbuild
-G "Visual Studio 17 2022"
-DCMAKE_BUILD_TYPE=${{ matrix.cmake.config }}
-DCMAKE_CONFIGURATION_TYPES=${{ matrix.cmake.config }}
-DBUILD_DEPS=ON
-DBUILD_EXAMPLES=${{ env.RELEASE_CREATED == 'true' && 'OFF' || (matrix.cmake.config != 'Release' && 'OFF' || 'ON') }}
-DBUILD_SAMPLES=OFF
Expand Down

0 comments on commit 14b81f7

Please sign in to comment.