mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-10 01:29:05 -04:00
CMake: unset cached result of qrcodegen header check #711
This commit is contained in:
parent
d3c3905996
commit
463f5acd6a
@ -73,6 +73,8 @@ elseif(${USE_OIIO})
|
|||||||
pkg_check_modules(OIIO REQUIRED OpenImageIO>=2.1)
|
pkg_check_modules(OIIO REQUIRED OpenImageIO>=2.1)
|
||||||
endif()
|
endif()
|
||||||
find_library(MATH_LIBRARIES m)
|
find_library(MATH_LIBRARIES m)
|
||||||
|
# don't cache this, or installing it requires clearing the cache to be found
|
||||||
|
unset(HAVE_QRCODEGEN_H CACHE)
|
||||||
check_include_file("qrcodegen/qrcodegen.h" HAVE_QRCODEGEN_H)
|
check_include_file("qrcodegen/qrcodegen.h" HAVE_QRCODEGEN_H)
|
||||||
if("${USE_QRCODEGEN}")
|
if("${USE_QRCODEGEN}")
|
||||||
if(NOT "${HAVE_QRCODEGEN_H}")
|
if(NOT "${HAVE_QRCODEGEN_H}")
|
||||||
|
@ -315,9 +315,6 @@ up someday **FIXME**.
|
|||||||
|
|
||||||
### FAQs
|
### FAQs
|
||||||
|
|
||||||
* *Q:* I installed `libqrcodegen-dev`, but CMake still can't find it.
|
|
||||||
* *A:* The negative lookup gets cached. Kill your build directory and run CMake again. Patches to improve this are welcome.
|
|
||||||
|
|
||||||
* *Q:* Why didn't you just use Sixel?
|
* *Q:* Why didn't you just use Sixel?
|
||||||
* *A:* Many terminal emulators don't support Sixel. Sixel doesn't work well
|
* *A:* Many terminal emulators don't support Sixel. Sixel doesn't work well
|
||||||
with mouse selection. With that said, I do intend to support Sixel soon,
|
with mouse selection. With that said, I do intend to support Sixel soon,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user