mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
fix the pcre versio check error on clang 16
This commit is contained in:
parent
98eb459ac2
commit
24786ae332
@ -30,7 +30,7 @@ if (PCRE_BUILD_SOURCE)
|
|||||||
#if PCRE_MAJOR != ${PCRE_REQUIRED_MAJOR_VERSION} || PCRE_MINOR < ${PCRE_REQUIRED_MINOR_VERSION}
|
#if PCRE_MAJOR != ${PCRE_REQUIRED_MAJOR_VERSION} || PCRE_MINOR < ${PCRE_REQUIRED_MINOR_VERSION}
|
||||||
#error Incorrect pcre version
|
#error Incorrect pcre version
|
||||||
#endif
|
#endif
|
||||||
main() {}" CORRECT_PCRE_VERSION)
|
int main(void) {return 0;}" CORRECT_PCRE_VERSION)
|
||||||
set (CMAKE_REQUIRED_INCLUDES "${saved_INCLUDES}")
|
set (CMAKE_REQUIRED_INCLUDES "${saved_INCLUDES}")
|
||||||
|
|
||||||
if (NOT CORRECT_PCRE_VERSION)
|
if (NOT CORRECT_PCRE_VERSION)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user