Skip to content

Commit

Permalink
More options for OpenSSL on Windows
Browse files Browse the repository at this point in the history
Signed-off-by: Geoff Hutchison <[email protected]>
  • Loading branch information
ghutchis committed Feb 8, 2024
1 parent 4212245 commit bbf6598
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion avogadro/lastinstall/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,15 @@ if((APPLE OR WIN32) AND NOT ${CMAKE_VERSION} VERSION_LESS 2.8.8)
if(EXISTS "${Qt5_Dir}/../../Tools/OpenSSLv3/Win_x64/")
set(OPENSSL_ROOT_DIR "${Qt5_Dir}/../../Tools/OpenSSLv3/Win_x64/")
message(STATUS "Using OpenSSL from ${OPENSSL_ROOT_DIR}")
elseif(DEFINED $ENV{OPENSSL_ROOT_DIR})
set(OPENSSL_ROOT_DIR $ENV{OPENSSL_ROOT_DIR})
message(STATUS "Using OpenSSL from ${OPENSSL_ROOT_DIR}")
endif()
if (DEFINED OPENSSL_ROOT_DIR)
file(GLOB OPENSSL_DLL ${OPENSSL_ROOT_DIR}/bin/*.dll)
install(FILES ${OPENSSL_DLL} DESTINATION ${INSTALL_RUNTIME_DIR})
endif()
endif()
endif()

set(plugins "")
foreach(plugin ${AvogadroLibs_PLUGINS})
Expand Down

0 comments on commit bbf6598

Please sign in to comment.