option(EXPAT_WARNINGS_AS_ERRORS "Treat all compiler warnings as errors" OFF)
if(NOT WIN32)
option(XML_DEV_URANDOM "Define to include code reading entropy from `/dev/urandom'." ON)
- set(USE_GETRANDOM "AUTO" CACHE STRING
+ set(EXPAT_WITH_GETRANDOM "AUTO" CACHE STRING
"Make use of getrandom function (ON|OFF|AUTO) [default=AUTO]")
set(USE_SYS_GETRANDOM "AUTO" CACHE STRING
"Make use of syscall SYS_getrandom (ON|OFF|AUTO) [default=AUTO]")
endmacro()
if(NOT WIN32)
- evaluate_detection_results(USE_GETRANDOM HAVE_GETRANDOM "function getrandom" "Function getrandom")
+ evaluate_detection_results(EXPAT_WITH_GETRANDOM HAVE_GETRANDOM "function getrandom" "Function getrandom")
evaluate_detection_results(USE_SYS_GETRANDOM HAVE_SYSCALL_GETRANDOM "syscall SYS_getrandom" "Syscall SYS_getrandom")
endif()
#326 CMake: Add argument -DXML_LARGE_SIZE=(ON|OFF), default OFF
#326 CMake: Add argument -DXML_MIN_SIZE=(ON|OFF), default OFF
#239 #277 CMake: Add arguments
- -DUSE_GETRANDOM=(ON|OFF|AUTO), default AUTO
+ -DEXPAT_WITH_GETRANDOM=(ON|OFF|AUTO), default AUTO
-DUSE_SYS_GETRANDOM=(ON|OFF|AUTO), default AUTO
#326 CMake: Install expat_config.h to include directory
#326 CMake: Generate and install configuration files for