mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-03 04:03:23 +03: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:
1 parent
bea145eb25
commit
49693fab0d
1 file changed
+2
@@ -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