mirror of
https://git.tukaani.org/xz.git
synced 2025-04-19 06:00:53 +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:
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…
x
Reference in New Issue
Block a user