Install runtime libraries in sbin on Windows.

Refs #4865
This commit is contained in:
Gunnar Beutner 2014-04-19 02:05:54 +02:00
parent c1ebf2933a
commit 0bb5b6f584
1 changed files with 7 additions and 0 deletions

View File

@ -65,7 +65,14 @@ if(MSVC)
set(CPACK_NSIS_EXECUTABLES_DIRECTORY "sbin")
set(CPACK_PACKAGE_EXECUTABLES "Icinga2SetupAgent;Icinga 2 Agent Wizard")
set(CPACK_NSIS_MUI_FINISHPAGE_RUN "Icinga2SetupAgent")
set(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP TRUE)
include(InstallRequiredSystemLibraries)
install(
PROGRAMS ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS}
DESTINATION ${CMAKE_INSTALL_SBINDIR}
)
endif()
include(CPack)