CMake: verify presence of libunistring for linking

pull/1621/head
nick black 3 years ago
parent 4a10801bb5
commit 1d99cc2628
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -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…
Cancel
Save