Skip to content

Commit

Permalink
CI: vcpkg version update to d765306b074717dea8dc1c4723e1b025acb61c2d …
Browse files Browse the repository at this point in the history
…, so that fix microsoft/vcpkg#32560
  • Loading branch information
KangLin committed Jul 24, 2023
1 parent 640bed9 commit 5dcb8be
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
ANDROID_PLATFORM: android-23
ANDROID_NATIVE_API_LEVEL: 23
ChineseChessControl_VERSION: "v2.0.10"
VCPKGGITCOMMITID: 1286cac8751e13bb289061b7e3b89eb4c3f613a2
VCPKGGITCOMMITID: d765306b074717dea8dc1c4723e1b025acb61c2d
qt_modules: 'qtimageformats qtmultimedia qtscxml qtwebchannel qtwebsockets qtwebview'

# Map the job outputs to step outputs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
ChineseChessControl_VERSION: "2.0.10"
artifact_name: build_macos
qt_modules: 'qtwebengine ${{ matrix.qt_modules }}'
VCPKGGITCOMMITID: 1286cac8751e13bb289061b7e3b89eb4c3f613a2
VCPKGGITCOMMITID: d765306b074717dea8dc1c4723e1b025acb61c2d

# Map the job outputs to step outputs
outputs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/msvc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
CMAKE_GENERATOR_PLATFORM: ${{matrix.CMAKE_GENERATOR_PLATFORM}}
VCPKG_PLATFORM_TOOLSET: ${{matrix.VCPKG_PLATFORM_TOOLSET}}
ChineseChessControl_VERSION: "v2.0.10"
VCPKGGITCOMMITID: 1286cac8751e13bb289061b7e3b89eb4c3f613a2
VCPKGGITCOMMITID: d765306b074717dea8dc1c4723e1b025acb61c2d
qt_modules: 'qtwebengine ${{matrix.qt_modules}}'

# Map the job outputs to step outputs
Expand Down Expand Up @@ -173,7 +173,7 @@ jobs:
cmake --install . --config ${{matrix.BUILD_TYPE}} --prefix=%CD%\install_develop --component=QtDevelopment
cmake --install . --config ${{matrix.BUILD_TYPE}} --prefix=%CD%\install_develop --component=Development
7z a ChineseChessControl_${{env.ChineseChessControl_VERSION}}_${{matrix.qt_arch}}_Qt${{matrix.qt_version}}_Develop.zip %CD%\install_develop\.
# cmake --build . --config ${{ matrix.BUILD_TYPE }} --target package
cmake --build . --config ${{ matrix.BUILD_TYPE }} --target package
- name: Update artifact
if: ${{ matrix.BUILD_TYPE == 'Release' && matrix.qt_version != '5.15.2' }}
Expand Down
1 change: 1 addition & 0 deletions App/MFC/ChineseChessMFC/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ if(CMAKE_MFC_FLAG EQUAL 2)
target_compile_definitions(${PROJECT_NAME} PRIVATE "_AFXDLL")
endif()
target_compile_definitions(${PROJECT_NAME} PRIVATE "_AFXEXT" "_WINDLL"
"WIN32" "_WINDOWS"
"_UNICODE" "UNICODE"
$<$<CONFIG:Debug>:_DEBUG DEBUG>
)
Expand Down
1 change: 1 addition & 0 deletions UI/MFC/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ if(CMAKE_MFC_FLAG EQUAL 2)
target_compile_definitions(${PROJECT_NAME} PRIVATE "_AFXDLL")
endif()
target_compile_definitions(${PROJECT_NAME} PRIVATE "_AFXEXT" "_WINDLL"
"WIN32" "_WINDOWS"
"_UNICODE" "UNICODE"
$<$<CONFIG:Debug>:_DEBUG DEBUG>
)
Expand Down

0 comments on commit 5dcb8be

Please sign in to comment.