Fix checking memmem in apps/ocspcheck/CMakeLists.txt
- Issue #352 pointed out by @d3x0r
This commit is contained in:
parent
6054891d43
commit
9bb3e03722
@ -20,7 +20,7 @@ else()
|
|||||||
set(OCSPCHECK_SRC ${OCSPCHECK_SRC} compat/inet_ntop.c)
|
set(OCSPCHECK_SRC ${OCSPCHECK_SRC} compat/inet_ntop.c)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
check_function_exists(inet_ntop HAVE_MEMMEM)
|
check_function_exists(memmem HAVE_MEMMEM)
|
||||||
if(HAVE_MEMMEM)
|
if(HAVE_MEMMEM)
|
||||||
add_definitions(-DHAVE_MEMMEM)
|
add_definitions(-DHAVE_MEMMEM)
|
||||||
else()
|
else()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user