From 920b2ef09b6111321610a060c2512d020526edf7 Mon Sep 17 00:00:00 2001 From: Uilian Ries Date: Fri, 14 Feb 2020 18:22:07 -0300 Subject: [PATCH] Export all symbols for blake2 Signed-off-by: Uilian Ries --- recipes/blake2/all/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/recipes/blake2/all/CMakeLists.txt b/recipes/blake2/all/CMakeLists.txt index 16040c4945a19..9be4f5199eff4 100644 --- a/recipes/blake2/all/CMakeLists.txt +++ b/recipes/blake2/all/CMakeLists.txt @@ -4,6 +4,10 @@ project(blake2 C) include("conanbuildinfo.cmake") conan_basic_setup() +if(WIN32 AND BUILD_SHARED_LIBS AND MSVC) + set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) +endif() + option(USE_SSE "Optimized for speed on CPUs supporting SSE2, SSSE3, SSE4.1, AVX, or XOP" OFF) option(USE_NEON "Optimiced for arm CPUs" OFF)