Skip to content

Commit

Permalink
Get some debugging info on Windows before final install
Browse files Browse the repository at this point in the history
Signed-off-by: Geoff Hutchison <[email protected]>
  • Loading branch information
ghutchis committed Feb 7, 2024
1 parent 8409e7e commit b876d80
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion avogadro/qtplugins/networkdatabases/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit b876d80

Please sign in to comment.