diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2018-07-17 16:51:27 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-07-17 16:51:27 -0700 |
| commit | cc89413fd1f6eb552432615a5ea80b412aad9f2e (patch) | |
| tree | d3f0875aba417c6d857bbf265ac28d4d7d184bbb | |
| parent | c161d33e44492deccc7c69794dc3cf8aa71ca243 (diff) | |
| download | vcpkg-cc89413fd1f6eb552432615a5ea80b412aad9f2e.tar.gz vcpkg-cc89413fd1f6eb552432615a5ea80b412aad9f2e.zip | |
[openssl] Add usage file
| -rw-r--r-- | ports/openssl/portfile.cmake | 1 | ||||
| -rw-r--r-- | ports/openssl/usage | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/ports/openssl/portfile.cmake b/ports/openssl/portfile.cmake index 065116c27..3d55c367f 100644 --- a/ports/openssl/portfile.cmake +++ b/ports/openssl/portfile.cmake @@ -1 +1,2 @@ set(VCPKG_POLICY_EMPTY_PACKAGE enabled) +file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/usage DESTINATION ${CURRENT_PACKAGES_DIR}/share/openssl/) diff --git a/ports/openssl/usage b/ports/openssl/usage new file mode 100644 index 000000000..f535cb6a4 --- /dev/null +++ b/ports/openssl/usage @@ -0,0 +1,4 @@ +The package openssl is compatible with built-in CMake targets:
+
+ find_package(OpenSSL REQUIRED)
+ target_link_libraries(main PRIVATE OpenSSL::SSL OpenSSL::Crypto)
|
