mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-02 09:40:15 +00:00
CMake: verify presence of libunistring for linking
This commit is contained in:
parent
4a10801bb5
commit
1d99cc2628
@ -109,6 +109,7 @@ check_include_file("uniwbrk.h" HAVE_UNISTRING_H)
|
||||
if(NOT "${HAVE_UNISTRING_H}")
|
||||
message(FATAL_ERROR "Couldn't find uniwbrk.h from GNU libunistring")
|
||||
endif()
|
||||
find_library(unistring unistring REQUIRED)
|
||||
set_property(GLOBAL APPEND PROPERTY PACKAGES_FOUND libunistring)
|
||||
set_package_properties(libunistring PROPERTIES TYPE REQUIRED)
|
||||
unset(HAVE_QRCODEGEN_H CACHE)
|
||||
|
Loading…
Reference in New Issue
Block a user