From 65edc9bf5a38315849fb3747a448fa0cac7da4fd Mon Sep 17 00:00:00 2001 From: Geoff Hutchison Date: Sat, 28 Oct 2023 22:15:31 -0400 Subject: [PATCH] Make sure to grab openbabel*.dll on Windows package Signed-off-by: Geoff Hutchison --- cmake/AvogadroCPack.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/AvogadroCPack.cmake b/cmake/AvogadroCPack.cmake index 2b342736..b9a94ac6 100644 --- a/cmake/AvogadroCPack.cmake +++ b/cmake/AvogadroCPack.cmake @@ -76,9 +76,11 @@ if(INSTALL_BUNDLE_FILES) get_filename_component(BABEL_DIR "${OBABEL_EXE}" PATH) if(WIN32) file(GLOB BABEL_PLUGINS ${BABEL_DIR}/*.obf) + file(GLOB BABEL_LIB ${BABEL_DIR}/openbabel*.dll) install( FILES ${BABEL_PLUGINS} + ${BABEL_LIB} ${BABEL_DIR}/inchi.dll ${BABEL_DIR}/libxml2.dll DESTINATION ${INSTALL_RUNTIME_DIR})