mirror of https://git.tukaani.org/xz.git
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:
parent
7213fe39c7
commit
c1b001b09e
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue