From: Gunnar Beutner Date: Sat, 19 Apr 2014 00:05:54 +0000 (+0200) Subject: Install runtime libraries in sbin on Windows. X-Git-Tag: v0.0.10~45 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0bb5b6f584629f04a5722cadbe834caae6ca594f;p=icinga2 Install runtime libraries in sbin on Windows. Refs #4865 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 4470a8289..97306213a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)