Merge pull request #229 from ProBrian/bugfix/pcre_check_error

fix the pcre versio check error on clang 16
This commit is contained in:
Konstantinos Margaritis 2024-01-29 20:26:57 +02:00 committed by GitHub
commit 71f3e7d994
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,7 +30,7 @@ if (PCRE_BUILD_SOURCE)
#if PCRE_MAJOR != ${PCRE_REQUIRED_MAJOR_VERSION} || PCRE_MINOR < ${PCRE_REQUIRED_MINOR_VERSION}
#error Incorrect pcre version
#endif
main() {}" CORRECT_PCRE_VERSION)
int main(void) {return 0;}" CORRECT_PCRE_VERSION)
set (CMAKE_REQUIRED_INCLUDES "${saved_INCLUDES}")
if (NOT CORRECT_PCRE_VERSION)