From 4b1dfb91ca155cb76b2a2551d2b6501976046676 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Fri, 30 Aug 2019 20:59:41 +0200 Subject: [PATCH] CMake: Rename BUILD_tools_default to _EXPAT_BUILD_TOOLS_DEFAULT --- expat/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/expat/CMakeLists.txt b/expat/CMakeLists.txt index 9b6a1861..706f18ee 100644 --- a/expat/CMakeLists.txt +++ b/expat/CMakeLists.txt @@ -23,11 +23,11 @@ include(GNUInstallDirs) # Configuration defaults # if(WINCE) - set(BUILD_tools_default OFF) + set(_EXPAT_BUILD_TOOLS_DEFAULT OFF) else() - set(BUILD_tools_default ON) + set(_EXPAT_BUILD_TOOLS_DEFAULT ON) endif() -if(MSVC OR NOT BUILD_tools_default) +if(MSVC OR NOT _EXPAT_BUILD_TOOLS_DEFAULT) set(BUILD_doc_default OFF) else() find_program(DOCBOOK_TO_MAN NAMES docbook2x-man db2x_docbook2man docbook2man docbook-to-man) @@ -41,7 +41,7 @@ endif() # # Configuration # -option(BUILD_tools "build the xmlwf tool for expat library" ${BUILD_tools_default}) +option(BUILD_tools "build the xmlwf tool for expat library" ${_EXPAT_BUILD_TOOLS_DEFAULT}) option(BUILD_examples "build the examples for expat library" ON) option(BUILD_tests "build the tests for expat library" ON) option(BUILD_shared "build a shared expat library" ON)