]> granicus.if.org Git - libexpat/commitdiff
CMake: Install expat_config.h to include directory
authorSebastian Pipping <sebastian@pipping.org>
Thu, 29 Aug 2019 21:09:26 +0000 (23:09 +0200)
committerSebastian Pipping <sebastian@pipping.org>
Thu, 29 Aug 2019 23:19:14 +0000 (01:19 +0200)
expat/CMakeLists.txt
expat/Changes

index 5d395bdcd416ee893393dd4820f1b91803cff161..374f62558dca9f42057c2975263a26e53e92ede3 100644 (file)
@@ -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)
index 36c96158456f9bc6ca4bfa72a147853e0f469a44..47c5da15481eb3e9f92171be13265bf3972bab3c 100644 (file)
@@ -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