aboutsummaryrefslogtreecommitdiff
path: root/ports/openssl/windows
diff options
context:
space:
mode:
authorPhoebe <20694052+PhoebeHui@users.noreply.github.com>2021-07-23 13:11:45 +0800
committerGitHub <noreply@github.com>2021-07-22 22:11:45 -0700
commit92bbf7b3315172d63ffa58416e7cf3f05d8da8e6 (patch)
treeda6c63b6294d7e0a8219c40345428b38a45cca15 /ports/openssl/windows
parent8cda3938f5f03a7961cc8024f83829e0f83176d2 (diff)
downloadvcpkg-92bbf7b3315172d63ffa58416e7cf3f05d8da8e6.tar.gz
vcpkg-92bbf7b3315172d63ffa58416e7cf3f05d8da8e6.zip
[openssl] Fix vcpkg-cmake-wrapper.cmake (#18475)
* [openssl] Fix vcpkg-cmake-wrapper.cmake * Update baseline revision * Update the wrapper * Update the baseline * Update the wrapper * Update the baseline * Update the wrapper * Update the baseline * Update the wrapper * Update the baseline * Update the wrapper * Update the baseline * Update the wrapper * Update the baseline * Bump port-version. * Update the baseline version Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Diffstat (limited to 'ports/openssl/windows')
-rw-r--r--ports/openssl/windows/portfile.cmake3
-rw-r--r--ports/openssl/windows/vcpkg-cmake-wrapper.cmake10
2 files changed, 0 insertions, 13 deletions
diff --git a/ports/openssl/windows/portfile.cmake b/ports/openssl/windows/portfile.cmake
index 3065abddc..4987e8107 100644
--- a/ports/openssl/windows/portfile.cmake
+++ b/ports/openssl/windows/portfile.cmake
@@ -172,6 +172,3 @@ vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/openssl/rand.h"
vcpkg_copy_pdbs()
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
-if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
- file(COPY "${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/openssl")
-endif()
diff --git a/ports/openssl/windows/vcpkg-cmake-wrapper.cmake b/ports/openssl/windows/vcpkg-cmake-wrapper.cmake
deleted file mode 100644
index 715448d25..000000000
--- a/ports/openssl/windows/vcpkg-cmake-wrapper.cmake
+++ /dev/null
@@ -1,10 +0,0 @@
-_find_package(${ARGS})
-if(OPENSSL_FOUND)
- list(APPEND OPENSSL_LIBRARIES Crypt32.lib ws2_32.lib)
- if(TARGET OpenSSL::Crypto)
- set_property(TARGET OpenSSL::Crypto APPEND PROPERTY INTERFACE_LINK_LIBRARIES "Crypt32.lib;ws2_32.lib")
- endif()
- if(TARGET OpenSSL::SSL)
- set_property(TARGET OpenSSL::SSL APPEND PROPERTY INTERFACE_LINK_LIBRARIES "Crypt32.lib;ws2_32.lib")
- endif()
-endif()