Skip to content

Commit dd7aa86

Browse files
committed
Add OpenSSL for macOS and Windows builds
1 parent 5c851e6 commit dd7aa86

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.github/workflows/cmake-macos.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on: [push, pull_request]
44

55
env:
66
BUILD_TYPE: RelWithDebInfo
7+
OPENSSL_ROOT_DIR: /usr/local/opt/openssl
78

89
jobs:
910
build:
@@ -16,7 +17,9 @@ jobs:
1617
submodules: recursive
1718

1819
- name: Install libraries
19-
run: brew install web-eid/gtest/gtest
20+
run: |
21+
brew install web-eid/gtest/gtest
22+
ln -sf /usr/local/Cellar/[email protected]/1.1.1* /usr/local/opt/openssl
2023
2124
- name: Create build directory
2225
run: mkdir build

.github/workflows/cmake-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Prepare vcpkg and libraries
1919
uses: lukka/run-vcpkg@v6
2020
with:
21-
vcpkgArguments: gtest:x64-windows
21+
vcpkgArguments: gtest:x64-windows openssl:x64-windows
2222
vcpkgTriplet: x64-windows
2323
vcpkgDirectory: ${{runner.workspace}}/vcpkg/
2424
vcpkgGitCommitId: ec6fe06e8da05a8157dc8581fa96b36b571c1bd5

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Example how to automatically select and connect to a supported eID card, and
1919
read the authentication certificate:
2020

2121
const auto cardInfo = autoSelectSupportedCard();
22-
std::cout << "Reader" << cardInfo->reader().name << "has supported card"
22+
std::cout << "Reader " << cardInfo->reader().name << " has supported card "
2323
<< cardInfo->eid().name();
2424

2525
const auto certificateBytes = cardInfo->eid().getCertificate(CertificateType::AUTHENTICATION);

0 commit comments

Comments
 (0)