From f30275d05bc62f2ce4d9afbd03495229614e217f Mon Sep 17 00:00:00 2001 From: Vincent JARDIN Date: Sun, 14 Apr 2024 10:49:26 +0200 Subject: [PATCH] docs: libs install-prefix since cmake 3.21 use the new recommendation from cmake: --install-prefix New in version 3.21. Specify the installation directory, used by the CMAKE_INSTALL_PREFIX variable. Must be an absolute path. reminder: the default path is /usr/local instead of /usr Signed-off-by: Vincent Jardin --- doc/developer/cross-compiling.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/developer/cross-compiling.rst b/doc/developer/cross-compiling.rst index af99262c4f..c503487441 100644 --- a/doc/developer/cross-compiling.rst +++ b/doc/developer/cross-compiling.rst @@ -148,7 +148,7 @@ be built and installed generally like: CC=${HOST_ARCH}-gcc \ CXX=${HOST_ARCH}-g++ \ cmake \ - -DCMAKE_INSTALL_PREFIX=/usr/${HOST_ARCH} \ + --install-prefix /usr/${HOST_ARCH} \ .. make make install