1 --- ceph-12.2.13/cmake/modules/Distutils.cmake.orig 2020-01-30 21:52:36.000000000 +0100
2 +++ ceph-12.2.13/cmake/modules/Distutils.cmake 2020-05-29 22:15:43.919231143 +0200
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)
10 - list(APPEND options --root=\$ENV{DESTDIR})
11 + list(APPEND options --root=\$ENV{DESTDIR} --optimize=2)
12 if(NOT \"${DU_INSTALL_SCRIPT}\" STREQUAL \"\")
13 list(APPEND options --install-script=${DU_INSTALL_SCRIPT})