Merge remote-tracking branch 'origin/cmake-boolean-correction' into integration_2025_w34 (!3598)

Align add_boolean_option as per CMake documentation use only ON/OFF for uniformity

The add_boolean_option of CMake is not uniform everywhere. We were using
either True/False or ON/OFF. It is better to be uniform to avoid
confusion.

As an example, see here CMake documentation for an example:
https://cmake.org/cmake/help/latest/module/CMakeDependentOption.html#example-basic-usage

There are also some minor spelling corrections.
This commit is contained in:
Robert Schmidt
2025-08-21 09:33:03 +02:00
2 changed files with 22 additions and 22 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
add_boolean_option(GENERATE_DOXYGEN False "Generate source code doc using doxygen" OFF)
add_boolean_option(GENERATE_DOXYGEN OFF "Generate source code doc using doxygen" OFF)
if(GENERATE_DOXYGEN)
find_package(Doxygen REQUIRED)