diff options
| author | Michael Kelley <michael.kelley@here.com> | 2020-03-17 18:09:06 -0700 |
|---|---|---|
| committer | Michael Kelley <michael.kelley@here.com> | 2020-03-17 18:09:06 -0700 |
| commit | 819ed9af67ffc6f5ef11527beb0918751196483f (patch) | |
| tree | afd8c56494ede1bd0031e67f42370af556ec1001 | |
| parent | 0cbfd1df1733f052c18027a783ae23678db2487c (diff) | |
| download | vcpkg-819ed9af67ffc6f5ef11527beb0918751196483f.tar.gz vcpkg-819ed9af67ffc6f5ef11527beb0918751196483f.zip | |
[openssl-unix] Update header path for shared library compilation
| -rw-r--r-- | ports/openssl-unix/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/openssl-unix/CMakeLists.txt b/ports/openssl-unix/CMakeLists.txt index 98020c8cf..2de8f98ce 100644 --- a/ports/openssl-unix/CMakeLists.txt +++ b/ports/openssl-unix/CMakeLists.txt @@ -76,7 +76,7 @@ file(WRITE "${BUILDDIR}/Configure" "${_contents}") if(BUILD_SHARED_LIBS)
set(SHARED shared)
- file(STRINGS "${BUILDDIR}/crypto/opensslv.h" SHLIB_VERSION
+ file(STRINGS "${BUILDDIR}/include/openssl/opensslv.h" SHLIB_VERSION
REGEX "^#[\t ]*define[\t ]+SHLIB_VERSION_NUMBER[\t ]+\".*\".*")
string(REGEX REPLACE "^.*SHLIB_VERSION_NUMBER[\t ]+\"([^\"]*)\".*$" "\\1"
SHLIB_VERSION "${SHLIB_VERSION}")
|
