CMake: Rename USE_DOXYGEN to ENABLE_DOXYGEN

It's more consistent with the other option() uses.

(cherry picked from commit 0fb3c9c3f6)
This commit is contained in:
Lasse Collin 2024-05-23 14:26:45 +03:00
parent 7213fe39c7
commit c1b001b09e
1 changed files with 2 additions and 2 deletions

View File

@ -1960,9 +1960,9 @@ endif()
############################################################################# #############################################################################
if(UNIX) if(UNIX)
option(USE_DOXYGEN "Use Doxygen to generate liblzma API docs" OFF) option(ENABLE_DOXYGEN "Use Doxygen to generate liblzma API docs" OFF)
if (USE_DOXYGEN) if (ENABLE_DOXYGEN)
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/doc") file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/doc")
add_custom_command( add_custom_command(