Skip to content

Commit

Permalink
Another try with OpenSSL packaging
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 871891b commit 68c2153
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
build_type: "Release",
cmake_flags: "-DOPENSSL_ROOT_DIR=D:\\a\\Tools\\OpenSSL\\Win_x64",
build_flags: "-j 2",
cpack_flags: "-G NSIS",
cpack_flags: "-G NSIS -DOPENSSL_ROOT_DIR=D:\\a\\Tools\\OpenSSL\\Win_x64",
}
- {
name: "Ubuntu Address Sanitizer", artifact: "",
Expand Down
8 changes: 8 additions & 0 deletions avogadro/lastinstall/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ if((APPLE OR WIN32) AND NOT ${CMAKE_VERSION} VERSION_LESS 2.8.8)
set(dirs ${dirs} "${vtk_dlls_dir}")
endif()

# grab OpenSSL for Windows
if(WIN32)
if (OPENSSL_ROOT_DIR)
file(GLOB OPENSSL_DLL ${OPENSSL_ROOT_DIR}/bin/*.dll)
install(FILES ${OPENSSL_DLL} DESTINATION ${INSTALL_RUNTIME_DIR})
endif()
endif()

set(plugins "")
foreach(plugin ${AvogadroLibs_PLUGINS})
get_property(location TARGET ${plugin} PROPERTY LOCATION)
Expand Down

0 comments on commit 68c2153

Please sign in to comment.