From 49693fab0d8380123a9c5442dbed480f0a35a244 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 24 May 2021 12:59:55 -0400 Subject: cmexpat: Create expat_config.h in build within CMake itself Expat 2.4.1 no longer supports compiling without this header. --- Utilities/cmexpat/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Utilities/cmexpat') diff --git a/Utilities/cmexpat/CMakeLists.txt b/Utilities/cmexpat/CMakeLists.txt index 904809683a..ce7292728b 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() -- cgit v1.2.1