]>
Commit | Line | Data |
---|---|---|
737284c4 JB |
1 | --- ceph-16.2.7/cmake/modules/Distutils.cmake~ 2021-12-07 17:15:49.000000000 +0100 |
2 | +++ ceph-16.2.7/cmake/modules/Distutils.cmake 2022-02-12 11:15:17.620439748 +0100 | |
3 | @@ -19,12 +19,10 @@ | |
1b11728e JB |
4 | install(CODE " |
5 | set(options --prefix=${CMAKE_INSTALL_PREFIX}) | |
6 | if(DEFINED ENV{DESTDIR}) | |
7 | - if(EXISTS /etc/debian_version) | |
8 | - list(APPEND options --install-layout=deb) | |
9 | - endif() | |
d8321c07 JB |
10 | list(APPEND options |
11 | --root=\$ENV{DESTDIR} | |
737284c4 JB |
12 | - --single-version-externally-managed) |
13 | + --single-version-externally-managed | |
14 | + --optimize=2) | |
15 | endif() | |
16 | if(NOT \"${DU_INSTALL_SCRIPT}\" STREQUAL \"\") | |
17 | list(APPEND options --install-script=${DU_INSTALL_SCRIPT}) | |
18 | @@ -109,10 +107,7 @@ | |
19 | ||
20 | set(options --prefix=${CMAKE_INSTALL_PREFIX}) | |
21 | if(DEFINED ENV{DESTDIR}) | |
22 | - if(EXISTS /etc/debian_version) | |
23 | - list(APPEND options --install-layout=deb) | |
24 | - endif() | |
25 | - list(APPEND options --root=\$ENV{DESTDIR}) | |
26 | + list(APPEND options --root=\$ENV{DESTDIR} --optimize=2) | |
27 | else() | |
28 | list(APPEND options --root=/) | |
29 | endif() |