Skip to content

Commit

Permalink
Use an older version of msbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
pierr3 committed Apr 25, 2024
1 parent e5df514 commit 3f6ca69
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ jobs:
with:
python-version: "3.11.x"

- name: Add msbuild to PATH
if: matrix.os == 'windows-latest'
uses: microsoft/setup-msbuild@v2
with:
vs-version: "[17.9,17.9.4]"

- name: Update cmake
if: matrix.os != 'macos-latest'
run: |
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ jobs:
with:
python-version: "3.11.x"

- name: Add msbuild to PATH
if: matrix.os == 'windows-latest'
uses: microsoft/setup-msbuild@v2
with:
vs-version: "[17.9,17.9.4]"

- name: Update cmake
if: matrix.os != 'macos-latest'
run: |
Expand Down
2 changes: 1 addition & 1 deletion backend/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if(MSVC)
$<$<CONFIG:Release>:/MD>
)

add_definitions(-D_WIN32_WINNT=0x0601)
add_definitions(-D_WIN32_WINNT=0x0A00)
endif()

add_library(trackaudio-afv SHARED
Expand Down

0 comments on commit 3f6ca69

Please sign in to comment.