aboutsummaryrefslogtreecommitdiff
path: root/ports/openssl/unix
diff options
context:
space:
mode:
authorKai Pastor <dg0yt@darc.de>2021-05-06 23:00:37 +0200
committerGitHub <noreply@github.com>2021-05-06 14:00:37 -0700
commitd66dae4134d9a55f9f84d9cf1b8fa225ca35c68d (patch)
tree3c1db325fff22f16e3539bfc4980e289fdb8e883 /ports/openssl/unix
parent2a4749e8ad2b278958909e14dced0638b049bf60 (diff)
downloadvcpkg-d66dae4134d9a55f9f84d9cf1b8fa225ca35c68d.tar.gz
vcpkg-d66dae4134d9a55f9f84d9cf1b8fa225ca35c68d.zip
[Openssl] Fix mingw build (#17456)
* Use 'MINGW' when in CMake project mode * Bump port-version, format manifest * x-add-version
Diffstat (limited to 'ports/openssl/unix')
-rw-r--r--ports/openssl/unix/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/openssl/unix/CMakeLists.txt b/ports/openssl/unix/CMakeLists.txt
index f85f7b9f7..d5fe3e1f4 100644
--- a/ports/openssl/unix/CMakeLists.txt
+++ b/ports/openssl/unix/CMakeLists.txt
@@ -106,7 +106,7 @@ if(BUILD_SHARED_LIBS)
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin" OR CMAKE_SYSTEM_NAME STREQUAL "iOS")
set(LIB_EXT dylib)
set(LIB_EXTS ${SHLIB_VERSION}.${LIB_EXT})
- elseif(VCPKG_TARGET_IS_MINGW)
+ elseif(MINGW)
string(REPLACE "." "_" SHLIB_VERSION "${SHLIB_VERSION}")
set(BIN_EXT dll)
set(LIB_EXT dll.a)