CMake: Install expat_config.h to include directory

This commit is contained in:
Sebastian Pipping 2019-08-29 23:09:26 +02:00
parent b429525a0b
commit 65ad42cb6f
2 changed files with 2 additions and 0 deletions

View File

@ -146,6 +146,7 @@ endmacro()
configure_file(expat_config.h.cmake "${CMAKE_CURRENT_BINARY_DIR}/expat_config.h") configure_file(expat_config.h.cmake "${CMAKE_CURRENT_BINARY_DIR}/expat_config.h")
add_definitions(-DHAVE_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) set(EXTRA_COMPILE_FLAGS)

View File

@ -27,6 +27,7 @@ Release x.x.x xxx xxx xx xxxx
#239 #277 CMake: Add arguments #239 #277 CMake: Add arguments
-DUSE_GETRANDOM=(ON|OFF|AUTO) -DUSE_GETRANDOM=(ON|OFF|AUTO)
-DUSE_SYS_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: Now produces a summary of applied configuration
CMake: Require C++ compiler only when tests are enabled CMake: Require C++ compiler only when tests are enabled
#265 CMake: Fix linking with MinGW #265 CMake: Fix linking with MinGW