Fix checking memmem in apps/ocspcheck/CMakeLists.txt

- Issue #352 pointed out by @d3x0r
This commit is contained in:
kinichiro 2017-09-26 22:02:21 +09:00
parent 6054891d43
commit 9bb3e03722

View File

@ -20,7 +20,7 @@ else()
set(OCSPCHECK_SRC ${OCSPCHECK_SRC} compat/inet_ntop.c)
endif()
check_function_exists(inet_ntop HAVE_MEMMEM)
check_function_exists(memmem HAVE_MEMMEM)
if(HAVE_MEMMEM)
add_definitions(-DHAVE_MEMMEM)
else()