mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-20 05:30:19 -06:00
cmexpat: Create expat_config.h in build within CMake itself
Expat 2.4.1 no longer supports compiling without this header.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user