mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 17:19:03 -04:00
Added find_path for unigbrk.h
This commit is contained in:
parent
e8b4c7958a
commit
481fa39678
@ -167,6 +167,8 @@ endif()
|
|||||||
# this is going to be true for anything lacking pkg-config/CMake support.
|
# 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.
|
# unigbrk.h was introduced in libunistring 0.9.4, 2010-02-14.
|
||||||
unset(HAVE_UNISTRING_H CACHE)
|
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)
|
check_include_file("unigbrk.h" HAVE_UNISTRING_H)
|
||||||
if(NOT "${HAVE_UNISTRING_H}")
|
if(NOT "${HAVE_UNISTRING_H}")
|
||||||
message(FATAL_ERROR "Couldn't find unigbrk.h from GNU libunistring")
|
message(FATAL_ERROR "Couldn't find unigbrk.h from GNU libunistring")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user