Skip to content

Commit 7144746

Browse files
Package system DLLs
1 parent 5c7c55e commit 7144746

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ endif()
107107
#-----------------------------------------------------------------------------
108108
include(Utilities)
109109
include(CompilerChecks)
110-
110+
include(InstallRequiredSystemLibraries)
111111

112112
#-----------------------------------------------------------------------------
113113
# check for package config
@@ -287,6 +287,7 @@ if(WIN32)
287287
file(GLOB HDF5_DLLS "${HDF5_INCLUDE_DIRS}/../bin/*.dll")
288288
file(GLOB_RECURSE MXML_DLLS "${MXML_LIBRARY_DIRS}/*.dll")
289289
install(FILES ${HDF4_DLLS} ${HDF5_DLLS} ${MXML_DLLS} DESTINATION bin COMPONENT Runtime)
290+
INSTALL(FILES ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS} DESTINATION bin COMPONENT Runtime)
290291
endif()
291292

292293
file(TO_NATIVE_PATH ${PROJECT_SOURCE_DIR} PROJECT_SOURCE_DIR_NATIVE)

0 commit comments

Comments
 (0)