Added find_path for unigbrk.h

pull/2742/head
Tobias Wood 6 months ago committed by nick black
parent e8b4c7958a
commit 481fa39678

@ -167,6 +167,8 @@ endif()
# this is going to be true for anything lacking pkg-config/CMake support.
# unigbrk.h was introduced in libunistring 0.9.4, 2010-02-14.
unset(HAVE_UNISTRING_H CACHE)
find_path(UNISTRING_INCLUDE unigbrk.h)
set(CMAKE_REQUIRED_INCLUDES ${UNISTRING_INCLUDE})
check_include_file("unigbrk.h" HAVE_UNISTRING_H)
if(NOT "${HAVE_UNISTRING_H}")
message(FATAL_ERROR "Couldn't find unigbrk.h from GNU libunistring")

Loading…
Cancel
Save