Skip to content

Commit

Permalink
include system runtime libraries for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Ylannl authored Jun 5, 2020
1 parent 86c0ed0 commit fbb2c76
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit fbb2c76

Please sign in to comment.