Fix Openssl build with ninja on windows
@@ -98,6 +98,7 @@ add_custom_command(
# Compile/install commands for debug and release variants
add_custom_command(
OUTPUT $<IF:$<CONFIG:Debug>,${LIBSSL_DEBUG_PATH},${LIBSSL_PATH}>
+ OUTPUT $<IF:$<CONFIG:Debug>,${LIBCRYPTO_DEBUG_PATH},${LIBCRYPTO_PATH}>
DEPENDS $<IF:$<CONFIG:Debug>,${QUIC_BUILD_DIR}/submodules/openssl/debug/makefile,${QUIC_BUILD_DIR}/submodules/openssl/release/makefile>
WORKING_DIRECTORY $<IF:$<CONFIG:Debug>,${QUIC_BUILD_DIR}/submodules/openssl/debug,${QUIC_BUILD_DIR}/submodules/openssl/release>
COMMAND ${OPENSSL_RUN_COMMAND} install_dev
@@ -110,6 +111,8 @@ add_custom_target(
DEPENDS
$<$<CONFIG:Debug>:${LIBSSL_DEBUG_PATH}>
$<$<NOT:$<CONFIG:Debug>>:${LIBSSL_PATH}>
+ $<$<CONFIG:Debug>:${LIBCRYPTO_DEBUG_PATH}>
+ $<$<NOT:$<CONFIG:Debug>>:${LIBCRYPTO_PATH}>
)
set_property(TARGET OpenSSL_Target PROPERTY FOLDER "${QUIC_FOLDER_PREFIX}helpers")
