Skip to content

Commit 2b69395

Browse files
committed
win
1 parent 4e63a58 commit 2b69395

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.github/workflows/versions.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,9 @@ jobs:
7474
if: runner.os == 'macOS'
7575
run: |
7676
brew install protobuf
77-
- name: Install Protobuf Compiler Mac
77+
- name: Install Protobuf Compiler Windows
7878
if: runner.os == 'Windows'
79-
run: |
80-
winget install protobuf
79+
run: winget install --id Google.Protobuf
8180
- name: Print architecture # debug
8281
run: |
8382
uname -m
@@ -90,6 +89,10 @@ jobs:
9089
if: runner.os == 'Windows'
9190
uses: ilammy/msvc-dev-cmd@v1
9291

92+
- name: Setup Winget
93+
if: runner.os == 'Windows'
94+
uses: actions/setup-winget@v1
95+
9396
- name: Build Google DP Unix
9497
if: runner.os != 'Windows'
9598
timeout-minutes: 20

src/bindings/PyDP/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,6 @@ target_link_libraries(_pydp PUBLIC dp_algorithms dp_protos
5454
absl::flat_hash_set
5555
)
5656

57-
target_compile_options(_pydp PRIVATE -Wno-deprecated-declarations -Wdeprecated-declarations)
57+
if(NOT WIN32)
58+
target_compile_options(_pydp PRIVATE -Wno-deprecated-declarations -Wdeprecated-declarations)
59+
endif()

0 commit comments

Comments
 (0)