1 diff --git a/icinga-app/CMakeLists.txt b/icinga-app/CMakeLists.txt
2 index 87993df..819c87b 100644
3 --- a/icinga-app/CMakeLists.txt
4 +++ b/icinga-app/CMakeLists.txt
5 @@ -106,7 +106,3 @@ install(
7 RUNTIME DESTINATION ${InstallPath}
10 -install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}${ICINGA2_FULL_LOGDIR}\")")
11 -install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}${ICINGA2_FULL_DATADIR}\")")
12 -install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}${ICINGA2_FULL_INITRUNDIR}\")")
13 diff --git a/lib/base/CMakeLists.txt b/lib/base/CMakeLists.txt
14 index 5dda179..22cf69f 100644
15 --- a/lib/base/CMakeLists.txt
16 +++ b/lib/base/CMakeLists.txt
17 @@ -125,7 +125,4 @@ set_target_properties (
21 -install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}${ICINGA2_FULL_CACHEDIR}\")")
22 -install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}${ICINGA2_FULL_LOGDIR}/crash\")")
24 set(CPACK_NSIS_EXTRA_INSTALL_COMMANDS "${CPACK_NSIS_EXTRA_INSTALL_COMMANDS}" PARENT_SCOPE)
25 diff --git a/lib/perfdata/CMakeLists.txt b/lib/perfdata/CMakeLists.txt
26 index ab963f7..3d9d506 100644
27 --- a/lib/perfdata/CMakeLists.txt
28 +++ b/lib/perfdata/CMakeLists.txt
29 @@ -74,7 +74,4 @@ install_if_not_exists(
30 ${ICINGA2_CONFIGDIR}/features-available
33 -install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}${ICINGA2_FULL_SPOOLDIR}/perfdata\")")
34 -install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}${ICINGA2_FULL_SPOOLDIR}/tmp\")")
36 set(CPACK_NSIS_EXTRA_INSTALL_COMMANDS "${CPACK_NSIS_EXTRA_INSTALL_COMMANDS}" PARENT_SCOPE)
37 diff --git a/lib/remote/CMakeLists.txt b/lib/remote/CMakeLists.txt
38 index 65113d2..5e4398f 100644
39 --- a/lib/remote/CMakeLists.txt
40 +++ b/lib/remote/CMakeLists.txt
41 @@ -55,12 +55,3 @@ set_target_properties (
46 -#install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}${ICINGA2_FULL_DATADIR}/api\")")
47 -install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}${ICINGA2_FULL_DATADIR}/api/log\")")
48 -install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}${ICINGA2_FULL_DATADIR}/api/zones\")")
49 -install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}${ICINGA2_FULL_DATADIR}/api/zones-stage\")")
50 -install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}${ICINGA2_FULL_DATADIR}/certs\")")
51 -install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}${ICINGA2_FULL_DATADIR}/certificate-requests\")")
54 diff --git a/lib/compat/CMakeLists.txt b/lib/compat/CMakeLists.txt
55 index 1438626..d882ae2 100644
56 --- a/lib/compat/CMakeLists.txt
57 +++ b/lib/compat/CMakeLists.txt
58 @@ -55,8 +55,4 @@ install_if_not_exists(
59 ${ICINGA2_CONFIGDIR}/features-available
62 -install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}${ICINGA2_FULL_LOGDIR}/compat/archives\")")
63 -install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}${ICINGA2_FULL_SPOOLDIR}\")")
64 -install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}${ICINGA2_FULL_INITRUNDIR}/cmd\")")
66 set(CPACK_NSIS_EXTRA_INSTALL_COMMANDS "${CPACK_NSIS_EXTRA_INSTALL_COMMANDS}" PARENT_SCOPE)