summaryrefslogtreecommitdiffstats
path: root/cmake/README.md
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@qt.io>2019-09-16 13:28:16 +0200
committerAlessandro Portale <alessandro.portale@qt.io>2019-09-16 14:51:14 +0000
commit736397ba4bc577d05772dc19c6154a92c2dc37ac (patch)
treea96dc5e64f9b2de7f7212fec20b83cbed86b2f92 /cmake/README.md
parented487cb00a5f08f32459aa602a38e3258f016561 (diff)
cmake/README.md: Make more obvious how to set BUILD_EXAMPLES/TESTING
BUILD_EXAMPLES and BUILD_TESTING are supposed to be defined via arguments when executing cmake. The current text does not make that clear. Change the wording, so that it matches other places in the document that explain which cmake arguments to set when. Change-Id: I058cf9d6bc7660c9f4820e2a7342bc64e99d6a72 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'cmake/README.md')
-rw-r--r--cmake/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/README.md b/cmake/README.md
index 759e5ad045..5d9d789bea 100644
--- a/cmake/README.md
+++ b/cmake/README.md
@@ -156,7 +156,7 @@ machine you're building on, regardless of the architecure you are targeting.
Build Qt regularly for your host system and install it into a directory of your choice using the
``CMAKE_INSTALL_PREFIX`` variable. You are free to disable the build of tests and examples by
-setting ``BUILD_EXAMPLES=OFF`` and ``BUILD_TESTING=OFF``.
+passing ``-DBUILD_EXAMPLES=OFF`` and ``-DBUILD_TESTING=OFF``.
With this installation of Qt in place, which contains all tools needed, we can proceed to create a
new build of Qt that is cross-compiled to the target architecture of choice. You may proceed by