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}"