Skip to content

Commit

Permalink
The latest Cmake 3.28.3 is failing with "Could NOT find Protobuf (mis…
Browse files Browse the repository at this point in the history
…sing: Protobuf_LIBRARIES)". Use Cmake 3.27.9 (#5951)

### Description
https://gitlab.kitware.com/cmake/cmake/-/issues/25704

### Motivation and Context
<!-- - Why is this change required? What problem does it solve? -->
<!-- - If it fixes an open issue, please link to the issue here. -->

---------

Signed-off-by: liqunfu <liqun.fu@microsoft.com>
  • Loading branch information
liqunfu committed Feb 22, 2024
1 parent 66b7fb6 commit 9140ca7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .azure-pipelines/Windows-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@ jobs:
- powershell: Write-Host "##vso[task.prependpath]$env:CONDA\Scripts"
displayName: Add conda to PATH

# cmake 3.28.3 failed to find protobuf installed from conda-forge
# https://gitlab.kitware.com/cmake/cmake/-/issues/25704
- script: |
choco install cmake --version 3.27.9 -y
cmake --version
displayName: Install specific version of CMake and check version
- script: |
conda create --yes --quiet --name py$(python.version) python=$(python.version)
if '$(protobuf_type)' == 'External' (
Expand Down

0 comments on commit 9140ca7

Please sign in to comment.