diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2019-05-21 12:22:40 +0200 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2019-05-21 12:22:40 +0200 |
commit | ac2b235ebef694c8c745eab12643e326138d4523 (patch) | |
tree | 4faf12cfc872c39dafa249117dc584efd8dbc43f /CMakeLists.txt | |
parent | ce6d624af223a855a83664106957d4453dd56fcd (diff) | |
download | libgit2-ac2b235ebef694c8c745eab12643e326138d4523.tar.gz |
regex: use REGEX_BACKEND as the cmake option name
This avoids any misunderstanding with the REGEX keyword in cmake.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index de7e53c53..1630a7b27 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -65,7 +65,7 @@ OPTION(DEBUG_POOL "Enable debug pool allocator" OFF) OPTION(ENABLE_WERROR "Enable compilation with -Werror" OFF) OPTION(USE_BUNDLED_ZLIB "Use the bundled version of zlib" OFF) OPTION(DEPRECATE_HARD "Do not include deprecated functions in the library" OFF) - SET(REGEX "" CACHE STRING "Regular expression implementation. One of regcomp_l, pcre2, pcre, regcomp, or builtin.") + SET(REGEX_BACKEND "" CACHE STRING "Regular expression implementation. One of regcomp_l, pcre2, pcre, regcomp, or builtin.") IF (UNIX AND NOT APPLE) OPTION(ENABLE_REPRODUCIBLE_BUILDS "Enable reproducible builds" OFF) |