mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-12 15:52:55 +00:00
CMake: Rename INSTALL to EXPAT_ENABLE_INSTALL
This commit is contained in:
parent
4b214610e2
commit
474471cdc2
1 changed files with 4 additions and 4 deletions
|
@ -48,7 +48,7 @@ option(BUILD_shared "build a shared expat library" ON)
|
|||
option(EXPAT_BUILD_DOCS "build man page for xmlwf" ${_EXPAT_BUILD_DOCS_DEFAULT})
|
||||
option(EXPAT_BUILD_FUZZERS "build fuzzers for the expat library" OFF)
|
||||
option(EXPAT_WITH_LIBBSD "utilize libbsd (for arc4random_buf)" OFF)
|
||||
option(INSTALL "install expat files in cmake install target" ON)
|
||||
option(EXPAT_ENABLE_INSTALL "install expat files in cmake install target" ON)
|
||||
set(XML_CONTEXT_BYTES 1024 CACHE STRING "Define to specify how much context to retain around the current parse point")
|
||||
option(XML_DTD "Define to make parameter entity parsing functionality available" ON)
|
||||
option(XML_NS "Define to make XML Namespaces functionality available" ON)
|
||||
|
@ -140,7 +140,7 @@ if(NOT WIN32)
|
|||
endif()
|
||||
|
||||
macro(expat_install)
|
||||
if(INSTALL)
|
||||
if(EXPAT_ENABLE_INSTALL)
|
||||
install(${ARGN})
|
||||
endif()
|
||||
endmacro()
|
||||
|
@ -452,7 +452,7 @@ message(STATUS " Build examples ............. ${EXPAT_BUILD_EXAMPLES}")
|
|||
message(STATUS " Build fuzzers .............. ${EXPAT_BUILD_FUZZERS}")
|
||||
message(STATUS " Build tests ................ ${EXPAT_BUILD_TESTS}")
|
||||
message(STATUS " Build tools (xmlwf) ........ ${EXPAT_BUILD_TOOLS}")
|
||||
message(STATUS " Install files .............. ${INSTALL}")
|
||||
message(STATUS " Install files .............. ${EXPAT_ENABLE_INSTALL}")
|
||||
message(STATUS "")
|
||||
message(STATUS " Features")
|
||||
message(STATUS " Attributes info .......... ${XML_ATTR_INFO}")
|
||||
|
@ -477,7 +477,7 @@ if(CMAKE_GENERATOR STREQUAL "Unix Makefiles")
|
|||
if(EXPAT_BUILD_TESTS)
|
||||
message(STATUS " make test")
|
||||
endif()
|
||||
if(INSTALL)
|
||||
if(EXPAT_ENABLE_INSTALL)
|
||||
message(STATUS " sudo make install")
|
||||
endif()
|
||||
message(STATUS "")
|
||||
|
|
Loading…
Add table
Reference in a new issue