diff --git a/CMakeLists.txt b/CMakeLists.txt index 0501e54..07d51f5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -223,6 +223,8 @@ add_subdirectory(apps) if (WIN32) set(CPACK_GENERATOR NSIS) set(CPACK_NSIS_MODIFY_PATH ON) + include(InstallRequiredSystemLibraries) + INSTALL(FILES ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS} DESTINATION bin COMPONENT Libraries) endif (WIN32) set(CPACK_PACKAGE_NAME "Geoflow") set(CPACK_PACKAGE_VENDOR "Ravi Peters")