build-style/cmake: pass DESTDIR as env var to make install
this ensures that the build-style also works with ninja when setting -GNinja and make_cmd=ninja
This commit is contained in:
@@ -98,5 +98,5 @@ do_install() {
|
||||
: ${make_install_target:=install}
|
||||
|
||||
cd ${cmake_builddir:=build}
|
||||
${make_cmd} DESTDIR=${DESTDIR} ${make_install_args} ${make_install_target}
|
||||
DESTDIR=${DESTDIR} ${make_cmd} ${make_install_args} ${make_install_target}
|
||||
}
|
||||
|
Reference in New Issue
Block a user