install the ssleay32 dll, not lib

This commit is contained in:
Stephen Birarda 2016-01-18 10:34:42 -08:00
parent f9c84f0913
commit ba6c4d90df

View file

@ -19,7 +19,7 @@ macro(manually_install_ssl_eay)
find_package(OpenSSL REQUIRED)
install(
FILES $<$<CONFIG:Debug>:${SSL_EAY_LIBRARY_DEBUG}> $<$<NOT:$<CONFIG:Debug>>:${SSL_EAY_LIBRARY_RELEASE}>
FILES "${OPENSSL_DLL_PATH}/ssleay32.dll"
DESTINATION ${TARGET_INSTALL_DIR}
COMPONENT ${TARGET_INSTALL_COMPONENT}
)