mirror of https://git.tukaani.org/xz.git
CMake: Rename USE_DOXYGEN to ENABLE_DOXYGEN
It's more consistent with the other option() uses.
This commit is contained in:
parent
6bbec3bda0
commit
0fb3c9c3f6
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue