mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 02:09:38 +08:00
c094d3133c
* [botan][caf][celero][docopt][glbinding][nanodbc][sfgui]Update release version or commit to latest * [sfml] Add find_dependency(Freetype)
15 lines
556 B
Diff
15 lines
556 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 2d908e8..d270297 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -495,6 +495,9 @@ if(NOT CAF_NO_OPENSSL)
|
|
message(STATUS
|
|
"Disable OpenSSL. Required >= 1.0.1 due to TLSv1.2 support.")
|
|
set(CAF_NO_OPENSSL yes)
|
|
+ elseif(CAF_OPENSSL_VERSION_OVERRIDE)
|
|
+ include_directories(BEFORE ${OPENSSL_INCLUDE_DIR})
|
|
+ add_optional_caf_lib(openssl)
|
|
else()
|
|
if(NOT CMAKE_CROSSCOMPILING)
|
|
# Check if openssl headers and library versions match
|