From 350222e411597fcfebf367f72a99c29fdda6c3c1 Mon Sep 17 00:00:00 2001 From: PB Date: Mon, 31 Jul 2023 19:18:18 +0200 Subject: [PATCH] Correct wxBUILD_TESTS CMake build options in unit tests docs Provide the correct options for wxBUILD_TESTS in the CMake part of unit tests documentation. Closes #23745. --- docs/contributing/how-to-write-unit-tests.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/contributing/how-to-write-unit-tests.md b/docs/contributing/how-to-write-unit-tests.md index 3bee949309..f08c9f4748 100644 --- a/docs/contributing/how-to-write-unit-tests.md +++ b/docs/contributing/how-to-write-unit-tests.md @@ -27,7 +27,7 @@ build the library: directory where you ran configure, not the one in the source tree) and run `make test` (non-GUI tests) or `make test_gui` (GUI ones) to build. -- When using CMake, add `-DwxBUILD_TESTS=ON` (or `=CONSOLE` for non-GUI tests +- When using CMake, add `-DwxBUILD_TESTS=ALL` (or `=CONSOLE_ONLY` for non-GUI tests only) to the command line arguments, or choose the desired `wxBUILD_TESTS` option in `cmake-gui`.