Skip to content

Commit

Permalink
windows openssl
Browse files Browse the repository at this point in the history
  • Loading branch information
XUranus committed Nov 15, 2023
1 parent 1b5c670 commit 47d07d3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,18 @@ jobs:
run: |
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
- name: Install openssl on windows
if: matrix.os == 'windows-latest'
run: |
vcpkg install openssl
- name: Configure openssl on windows
if: matrix.os == 'windows-latest'
run: |
$env:OPENSSL_ROOT_DIR = "C:/Program Files/OpenSSL"
$env:OPENSSL_LIBRARY_LIBRARIES = "$(env:OPENSSL_ROOT_DIR)/lib"
$env:PATH += ";$(env:OPENSSL_ROOT_DIR)/bin"
- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
Expand Down

0 comments on commit 47d07d3

Please sign in to comment.