Skip to content

Commit

Permalink
CMake: Rename USE_DOXYGEN to ENABLE_DOXYGEN
Browse files Browse the repository at this point in the history
It's more consistent with the other option() uses.
  • Loading branch information
Larhzu committed May 23, 2024
1 parent 6bbec3b commit 0fb3c9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 0fb3c9c

Please sign in to comment.