mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-04 06:00:30 +00:00
CMake: unset HAVE_UNISTRING_H cache to force search
This commit is contained in:
parent
b9ad7b9bd5
commit
71db3dbe61
@ -85,11 +85,12 @@ endif()
|
||||
|
||||
# don't cache these, or installing them requires clearing the cache to be found.
|
||||
# this is going to be true for anything lacking pkg-config/CMake support.
|
||||
unset(HAVE_QRCODEGEN_H CACHE)
|
||||
unset(HAVE_UNISTRING_H CACHE)
|
||||
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()
|
||||
unset(HAVE_QRCODEGEN_H CACHE)
|
||||
if("${USE_QRCODEGEN}")
|
||||
check_include_file("qrcodegen/qrcodegen.h" HAVE_QRCODEGEN_H)
|
||||
if(NOT "${HAVE_QRCODEGEN_H}")
|
||||
|
Loading…
Reference in New Issue
Block a user