diff options
author | Brad King <brad.king@kitware.com> | 2021-05-24 16:59:55 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-05-24 16:59:55 (GMT) |
commit | 49693fab0d8380123a9c5442dbed480f0a35a244 (patch) | |
tree | 6f5705359b20e33c9e641623964f21eaf55dee38 /Utilities | |
parent | bea145eb25a3f68bb2926e83650485bde00645c2 (diff) | |
download | CMake-49693fab0d8380123a9c5442dbed480f0a35a244.zip CMake-49693fab0d8380123a9c5442dbed480f0a35a244.tar.gz CMake-49693fab0d8380123a9c5442dbed480f0a35a244.tar.bz2 |
cmexpat: Create expat_config.h in build within CMake itself
Expat 2.4.1 no longer supports compiling without this header.
Diffstat (limited to 'Utilities')
-rw-r--r-- | Utilities/cmexpat/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Utilities/cmexpat/CMakeLists.txt b/Utilities/cmexpat/CMakeLists.txt index 9048096..ce72927 100644 --- a/Utilities/cmexpat/CMakeLists.txt +++ b/Utilities/cmexpat/CMakeLists.txt @@ -7,6 +7,8 @@ ELSEIF(CMAKE_C_COMPILER_ID STREQUAL "PathScale") ENDIF() include(ConfigureChecks.cmake) +configure_file(expat_config.h.cmake expat_config.h @ONLY) + if(NOT WIN32) add_definitions(-DXML_DEV_URANDOM) endif() |