]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
CMake: Rename USE_DOXYGEN to ENABLE_DOXYGEN
authorLasse Collin <lasse.collin@tukaani.org>
Thu, 23 May 2024 11:26:45 +0000 (14:26 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Thu, 23 May 2024 12:40:51 +0000 (15:40 +0300)
It's more consistent with the other option() uses.

(cherry picked from commit 0fb3c9c3f684f5a25bd425ed079a20a79f0c969d)

CMakeLists.txt

index 534d6acea4339305b23395bcb342f0d7e2140801..445822b8ec585d93dd4de18139eab9c5bf30ca58 100644 (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(