1
0
mirror of https://git.tukaani.org/xz.git synced 2025-02-17 14:08:12 +00:00

CMake: Rename USE_DOXYGEN to ENABLE_DOXYGEN

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

(cherry picked from commit 0fb3c9c3f684f5a25bd425ed079a20a79f0c969d)
This commit is contained in:
Lasse Collin 2024-05-23 14:26:45 +03:00
parent 7213fe39c7
commit c1b001b09e

View File

@ -1960,9 +1960,9 @@ endif()
#############################################################################
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")
add_custom_command(