mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-22 06:26:26 +00:00
regex: don't warn on unused functions
PCRE includes compatibility functions that may go unused. Don't warn.
This commit is contained in:
2
deps/pcre/CMakeLists.txt
vendored
2
deps/pcre/CMakeLists.txt
vendored
@@ -20,6 +20,8 @@ CHECK_FUNCTION_EXISTS(_strtoi64 HAVE__STRTOI64)
|
||||
CHECK_TYPE_SIZE("long long" LONG_LONG)
|
||||
CHECK_TYPE_SIZE("unsigned long long" UNSIGNED_LONG_LONG)
|
||||
|
||||
DISABLE_WARNINGS(unused-function)
|
||||
|
||||
# User-configurable options
|
||||
|
||||
SET(SUPPORT_PCRE8 1)
|
||||
|
||||
Reference in New Issue
Block a user