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:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user