From 0eb711e9b640e844693e9129e4e1eb0c43b4c935 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Fri, 30 Aug 2019 21:22:51 +0200 Subject: [PATCH] CMake: Rename USE_SYS_GETRANDOM to EXPAT_WITH_SYS_GETRANDOM --- expat/CMakeLists.txt | 4 ++-- expat/Changes | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/expat/CMakeLists.txt b/expat/CMakeLists.txt index 272bf411..07976a46 100644 --- a/expat/CMakeLists.txt +++ b/expat/CMakeLists.txt @@ -57,7 +57,7 @@ if(NOT WIN32) option(XML_DEV_URANDOM "Define to include code reading entropy from `/dev/urandom'." ON) set(EXPAT_WITH_GETRANDOM "AUTO" CACHE STRING "Make use of getrandom function (ON|OFF|AUTO) [default=AUTO]") - set(USE_SYS_GETRANDOM "AUTO" CACHE STRING + set(EXPAT_WITH_SYS_GETRANDOM "AUTO" CACHE STRING "Make use of syscall SYS_getrandom (ON|OFF|AUTO) [default=AUTO]") endif() option(XML_UNICODE "Use UTF-16 encoded chars (two bytes) instead of UTF-8" OFF) @@ -136,7 +136,7 @@ endmacro() if(NOT WIN32) 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") + evaluate_detection_results(EXPAT_WITH_SYS_GETRANDOM HAVE_SYSCALL_GETRANDOM "syscall SYS_getrandom" "Syscall SYS_getrandom") endif() macro(expat_install) diff --git a/expat/Changes b/expat/Changes index 4999b293..36b8ba07 100644 --- a/expat/Changes +++ b/expat/Changes @@ -28,7 +28,7 @@ Release x.x.x xxx xxx xx xxxx #326 CMake: Add argument -DXML_MIN_SIZE=(ON|OFF), default OFF #239 #277 CMake: Add arguments -DEXPAT_WITH_GETRANDOM=(ON|OFF|AUTO), default AUTO - -DUSE_SYS_GETRANDOM=(ON|OFF|AUTO), default AUTO + -DEXPAT_WITH_SYS_GETRANDOM=(ON|OFF|AUTO), default AUTO #326 CMake: Install expat_config.h to include directory #326 CMake: Generate and install configuration files for future find_package(expat [..] CONFIG [..])