diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/cryptopp/cmake-support-pem-pack.patch | |
Diffstat (limited to 'vcpkg/ports/cryptopp/cmake-support-pem-pack.patch')
| -rw-r--r-- | vcpkg/ports/cryptopp/cmake-support-pem-pack.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/vcpkg/ports/cryptopp/cmake-support-pem-pack.patch b/vcpkg/ports/cryptopp/cmake-support-pem-pack.patch new file mode 100644 index 0000000..4dac218 --- /dev/null +++ b/vcpkg/ports/cryptopp/cmake-support-pem-pack.patch @@ -0,0 +1,33 @@ +diff --git a/cryptopp/sources.cmake b/cryptopp/sources.cmake +index 7918f03..58d74e2 100644 +--- a/cryptopp/sources.cmake ++++ b/cryptopp/sources.cmake +@@ -182,6 +182,14 @@ set(cryptopp_SOURCES + zlib.cpp + ) + ++if (CRYPTOPP_PEM_PACK) ++ list(APPEND cryptopp_SOURCES ++ pem-com.cpp ++ pem-rd.cpp ++ pem-wr.cpp ++ ) ++endif() ++ + # ***** Library headers ***** + set(cryptopp_HEADERS + 3way.h +@@ -374,6 +382,13 @@ set(cryptopp_HEADERS + zlib.h + ) + ++if (CRYPTOPP_PEM_PACK) ++ list(APPEND cryptopp_HEADERS ++ pem-com.h ++ pem.h ++ ) ++endif() ++ + # ***** Test sources ***** + set(cryptopp_SOURCES_TEST + # adhoc.cpp |