From 736397ba4bc577d05772dc19c6154a92c2dc37ac Mon Sep 17 00:00:00 2001 From: Alessandro Portale Date: Mon, 16 Sep 2019 13:28:16 +0200 Subject: [PATCH] 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 --- cmake/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/README.md b/cmake/README.md index 759e5ad045d..5d9d789beaa 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