mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-19 00:46:03 +01:00
8 lines
673 B
CMake
8 lines
673 B
CMake
if(MSVC AND USING_INTERNAL_OPENSSL)
|
|
add_custom_command(TARGET "${LIBNAME}" PRE_BUILD
|
|
COMMAND xcopy /Y /C ${OPENSSL_ROOT_DIR}\\win${OPENSSL_WIN_PLATFORM_BITS}\\${POCO_WIN_LIB_DIR}\\$(Configuration)\\*.dll ${WIN_BIN_OUTPUT_DIR}\\$(Configuration)\\*
|
|
COMMAND xcopy /Y /C ${OPENSSL_ROOT_DIR}\\win${OPENSSL_WIN_PLATFORM_BITS}\\${POCO_WIN_LIB_DIR}\\$(Configuration)\\*.lib ${WIN_LIB_OUTPUT_DIR}\\$(Configuration)\\*
|
|
COMMAND xcopy /Y /C ${OPENSSL_ROOT_DIR}\\win${OPENSSL_WIN_PLATFORM_BITS}\\${POCO_WIN_LIB_DIR}\\$(Configuration)\\*.pdb ${WIN_BIN_OUTPUT_DIR}\\$(Configuration)\\*
|
|
COMMENT "Copying OpenSSL binaries" VERBATIM)
|
|
endif(MSVC AND USING_INTERNAL_OPENSSL)
|