Skip to content

Commit

Permalink
xxx
Browse files Browse the repository at this point in the history
  • Loading branch information
LDVG committed Oct 16, 2024
1 parent 4225e4b commit bcb6146
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion regress/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
"$<TARGET_FILE:${_FIDO2_LIBRARY}>"
"${CMAKE_CURRENT_BINARY_DIR}")
Expand Down

0 comments on commit bcb6146

Please sign in to comment.