From 3eb4909120fa90e630760f1adea22ec5c50e6777 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Fri, 30 Aug 2019 21:10:18 +0200 Subject: [PATCH] CMake: Rename BUILD_doc_default to _EXPAT_BUILD_DOCS_DEFAULT --- expat/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/expat/CMakeLists.txt b/expat/CMakeLists.txt index bc394ec9..2e80cf06 100644 --- a/expat/CMakeLists.txt +++ b/expat/CMakeLists.txt @@ -28,13 +28,13 @@ else() set(_EXPAT_BUILD_TOOLS_DEFAULT ON) endif() if(MSVC OR NOT _EXPAT_BUILD_TOOLS_DEFAULT) - set(BUILD_doc_default OFF) + set(_EXPAT_BUILD_DOCS_DEFAULT OFF) else() find_program(DOCBOOK_TO_MAN NAMES docbook2x-man db2x_docbook2man docbook2man docbook-to-man) if(DOCBOOK_TO_MAN) - set(BUILD_doc_default ON) + set(_EXPAT_BUILD_DOCS_DEFAULT ON) else() - set(BUILD_doc_default OFF) + set(_EXPAT_BUILD_DOCS_DEFAULT OFF) endif() endif() @@ -45,7 +45,7 @@ option(EXPAT_BUILD_TOOLS "build the xmlwf tool for expat library" ${_EXPAT_BUILD option(EXPAT_BUILD_EXAMPLES "build the examples for expat library" ON) option(EXPAT_BUILD_TESTS "build the tests for expat library" ON) option(BUILD_shared "build a shared expat library" ON) -option(BUILD_doc "build man page for xmlwf" ${BUILD_doc_default}) +option(BUILD_doc "build man page for xmlwf" ${_EXPAT_BUILD_DOCS_DEFAULT}) option(BUILD_fuzzers "build fuzzers for the expat library" OFF) option(USE_libbsd "utilize libbsd (for arc4random_buf)" OFF) option(INSTALL "install expat files in cmake install target" ON) -- 2.40.0