From c91c1af4f2e99273923b1e2dfeda8e5bba5dd64c Mon Sep 17 00:00:00 2001 From: Craig Edwards Date: Wed, 16 Oct 2024 22:21:05 +0000 Subject: [PATCH] only needed on windows now --- library-vcpkg/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/library-vcpkg/CMakeLists.txt b/library-vcpkg/CMakeLists.txt index ba846691f4..5e7b9ae6d7 100644 --- a/library-vcpkg/CMakeLists.txt +++ b/library-vcpkg/CMakeLists.txt @@ -49,10 +49,11 @@ if(WIN32) add_compile_definitions(WIN32_LEAN_AND_MEAN) add_compile_definitions(_CRT_SECURE_NO_WARNINGS) add_compile_definitions(_CRT_NONSTDC_NO_DEPRECATE) + # Fake an ssl version number to satisfy MLSPP + set(OPENSSL_VERSION "1.1.1f") endif() -# Fake an ssl version number to satisfy MLSPP -set(OPENSSL_VERSION "1.1.1f") + target_compile_options( "${LIB_NAME}"