aboutsummaryrefslogtreecommitdiff
path: root/ports/openssl-windows
diff options
context:
space:
mode:
authorJack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>2020-08-18 16:49:57 -0700
committerGitHub <noreply@github.com>2020-08-18 16:49:57 -0700
commit547af512d0f79864faaed927fa2d2e7c9b89a526 (patch)
tree79cddfd23c198a4cac7fdd6830845dde40f3308c /ports/openssl-windows
parent4a3d9e22d1b104332c5faf98abfcee94b671c9ef (diff)
downloadvcpkg-547af512d0f79864faaed927fa2d2e7c9b89a526.tar.gz
vcpkg-547af512d0f79864faaed927fa2d2e7c9b89a526.zip
[openssl] Interrupt the build process when files conflict (#12867)
Diffstat (limited to 'ports/openssl-windows')
-rw-r--r--ports/openssl-windows/portfile.cmake4
1 files changed, 1 insertions, 3 deletions
diff --git a/ports/openssl-windows/portfile.cmake b/ports/openssl-windows/portfile.cmake
index a4735d1fc..44de51569 100644
--- a/ports/openssl-windows/portfile.cmake
+++ b/ports/openssl-windows/portfile.cmake
@@ -1,9 +1,7 @@
vcpkg_fail_port_install(MESSAGE "${PORT} is only for Windows Desktop" ON_TARGET "UWP" "Linux" "OSX")
if(EXISTS "${CURRENT_INSTALLED_DIR}/include/openssl/ssl.h")
- message(WARNING "Can't build openssl if libressl is installed. Please remove libressl, and try install openssl again if you need it. Build will continue but there might be problems since libressl is only a subset of openssl")
- set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
- return()
+ message(FATAL_ERROR "Can't build openssl if libressl/boringssl is installed. Please remove libressl/boringssl, and try install openssl again if you need it.")
endif()
vcpkg_find_acquire_program(PERL)