From bcb61461b4ef70e9beb735d100bed3b3b39dbb9b Mon Sep 17 00:00:00 2001 From: Ludvig Michaelsson Date: Wed, 16 Oct 2024 14:17:41 +0200 Subject: [PATCH] xxx --- regress/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/regress/CMakeLists.txt b/regress/CMakeLists.txt index 246bffa1..0b418603 100644 --- a/regress/CMakeLists.txt +++ b/regress/CMakeLists.txt @@ -13,10 +13,12 @@ macro(add_regress_test NAME SOURCES LIB) endmacro() if(MSVC AND BUILD_SHARED_LIBS) + # XXX + file(GLOB CRYPTO_PATH "${CRYPTO_BIN_DIRS}/${CRYPTO_LIBRARIES}*.dll") add_custom_command(TARGET regress POST_BUILD COMMAND "${CMAKE_COMMAND}" -E copy + "${CRYPTO_PATH}" "${CBOR_BIN_DIRS}/${CBOR_LIBRARIES}.dll" - "${CRYPTO_BIN_DIRS}/${CRYPTO_LIBRARIES}.dll" "${ZLIB_BIN_DIRS}/${ZLIB_LIBRARIES}.dll" "$" "${CMAKE_CURRENT_BINARY_DIR}")