From: Sebastian Pipping Date: Fri, 30 Aug 2019 19:10:18 +0000 (+0200) Subject: CMake: Rename BUILD_doc_default to _EXPAT_BUILD_DOCS_DEFAULT X-Git-Tag: R_2_2_8~23^2~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3eb4909120fa90e630760f1adea22ec5c50e6777;p=libexpat CMake: Rename BUILD_doc_default to _EXPAT_BUILD_DOCS_DEFAULT --- 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)