From: Sebastian Pipping Date: Thu, 29 Aug 2019 21:09:26 +0000 (+0200) Subject: CMake: Install expat_config.h to include directory X-Git-Tag: R_2_2_8~25^2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=65ad42cb6f3bd3f64259eff6bec94c5eeaa09f0e;p=libexpat CMake: Install expat_config.h to include directory --- 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