From 65ad42cb6f3bd3f64259eff6bec94c5eeaa09f0e Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Thu, 29 Aug 2019 23:09:26 +0200 Subject: [PATCH] CMake: Install expat_config.h to include directory --- expat/CMakeLists.txt | 1 + expat/Changes | 1 + 2 files changed, 2 insertions(+) diff --git a/expat/CMakeLists.txt b/expat/CMakeLists.txt index 5d395bdc..374f6255 100644 --- a/expat/CMakeLists.txt +++ b/expat/CMakeLists.txt @@ -146,6 +146,7 @@ endmacro() configure_file(expat_config.h.cmake "${CMAKE_CURRENT_BINARY_DIR}/expat_config.h") add_definitions(-DHAVE_EXPAT_CONFIG_H) +expat_install(FILES "${CMAKE_CURRENT_BINARY_DIR}/expat_config.h" DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) set(EXTRA_COMPILE_FLAGS) diff --git a/expat/Changes b/expat/Changes index 36c96158..47c5da15 100644 --- a/expat/Changes +++ b/expat/Changes @@ -27,6 +27,7 @@ Release x.x.x xxx xxx xx xxxx #239 #277 CMake: Add arguments -DUSE_GETRANDOM=(ON|OFF|AUTO) -DUSE_SYS_GETRANDOM=(ON|OFF|AUTO) + CMake: Install expat_config.h to include directory CMake: Now produces a summary of applied configuration CMake: Require C++ compiler only when tests are enabled #265 CMake: Fix linking with MinGW