diff --git a/avogadro/qtplugins/networkdatabases/CMakeLists.txt b/avogadro/qtplugins/networkdatabases/CMakeLists.txt index ca16f5659c..f5a4f72577 100644 --- a/avogadro/qtplugins/networkdatabases/CMakeLists.txt +++ b/avogadro/qtplugins/networkdatabases/CMakeLists.txt @@ -17,5 +17,16 @@ target_link_libraries(NetworkDatabases if(WIN32) # for https support target_link_libraries(NetworkDatabases PRIVATE OpenSSL::SSL OpenSSL::Crypto OpenSSL::applink) - install(FILES ${OPENSSL_CRYPTO_LIBRARY} ${OPENSSL_SSL_LIBRARY} DESTINATION ${INSTALL_RUNTIME_DIR}) + + message(WARNING "FindSSL found: ${OPENSSL_FOUND}") + message(WARNING "FindSSL include dir: ${OPENSSL_INCLUDE_DIR}") + message(WARNING "FindSSL library dir: ${OPENSSL_LIBRARY_DIR}") + message(WARNING "FindSSL crypto lib: ${OPENSSL_CRYPTO_LIBRARY}") + message(WARNING "FindSSL Crypto dependencies: ${OPENSSL_CRYPTO_LIBRARIES}") + message(WARNING "FindSSL SSL lib: ${OPENSSL_SSL_LIBRARY}") + message(WARNING "FindSSL SSL dependencies: ${OPENSSL_SSL_LIBRARIES}") + message(WARNING "FindSSL ALL : ${OPENSSL_LIBRARIES}") + + # install libcrypto*.dll and libssl*.dll + # install(FILES ${OPENSSL_CRYPTO_LIBRARY} ${OPENSSL_SSL_LIBRARY} DESTINATION ${INSTALL_RUNTIME_DIR}) endif()