summaryrefslogtreecommitdiff
path: root/doc/developer/cross-compiling.rst
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2024-04-26 23:29:29 +0300
committerGitHub <noreply@github.com>2024-04-26 23:29:29 +0300
commit524e08c4d60938bd162edfe5380e6656a2dac22f (patch)
treec6ee8a03ea4eb677182a5d03793eabedcdd73341 /doc/developer/cross-compiling.rst
parent03a4765cda26bba2b809bf697a65b48efac11794 (diff)
parentf30275d05bc62f2ce4d9afbd03495229614e217f (diff)
Merge pull request #15737 from vjardin/cmake_install_prefix
cmake install prefix
Diffstat (limited to 'doc/developer/cross-compiling.rst')
-rw-r--r--doc/developer/cross-compiling.rst2
1 files changed, 1 insertions, 1 deletions
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