diff options
author | Brad King <brad.king@kitware.com> | 2016-05-05 19:10:01 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-05-05 19:10:03 (GMT) |
commit | 4544c68a6ed18a42edb10903b9e0d4983a0e2f5c (patch) | |
tree | e16cac68e865e7c54d42c973689717cec68851a8 /Utilities/cmexpat/CMakeLists.txt | |
parent | 9f7de3960cbf3e36ce3a83b57d48bef7116693de (diff) | |
download | CMake-4544c68a6ed18a42edb10903b9e0d4983a0e2f5c.zip CMake-4544c68a6ed18a42edb10903b9e0d4983a0e2f5c.tar.gz CMake-4544c68a6ed18a42edb10903b9e0d4983a0e2f5c.tar.bz2 |
expat: Hard-code configuration options for our needs
Also include our configured header on Windows too to get the same
configuration.
Diffstat (limited to 'Utilities/cmexpat/CMakeLists.txt')
-rw-r--r-- | Utilities/cmexpat/CMakeLists.txt | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/Utilities/cmexpat/CMakeLists.txt b/Utilities/cmexpat/CMakeLists.txt index ac5d660..f7d56e3 100644 --- a/Utilities/cmexpat/CMakeLists.txt +++ b/Utilities/cmexpat/CMakeLists.txt @@ -5,22 +5,6 @@ project(expat) cmake_minimum_required(VERSION 2.6) -# configuration options -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) - -if(XML_DTD) - set(XML_DTD 1) -else(XML_DTD) - set(XML_DTD 0) -endif(XML_DTD) -if(XML_NS) - set(XML_NS 1) -else(XML_NS) - set(XML_NS 0) -endif(XML_NS) - include(ConfigureChecks.cmake) include_directories(${CMAKE_BINARY_DIR} ${CMAKE_SOURCE_DIR}/lib) |