mirror of
https://github.com/Cisco-Talos/clamav.git
synced 2025-10-19 10:23:17 +00:00
![]() I found that on macOS, setting the libncurses.a and libtinfo.a into the same CURSES_LIBRARY variable does not find or link with libtinfo.a. To fix this, this commit adds a separate TINFO_LIBRARY variable. In the end, CURSES_LIBRARIES and the Curses::curses CMake TARGET will still have both libraries set, if both are provided. This fix is necessary if the ncurses was built with `--with-terminfo`. I think we got away without it on Linux because of pkg-config. I also found that Apple's ncurses is prioritized by PkgConfig over one specified by using variables. To this end, we'll skip PkgConfig if the include path was provided. |
||
---|---|---|
.. | ||
CheckFDPassing.c | ||
CheckFDPassing.cmake | ||
CheckFileOffsetBits.c | ||
CheckFileOffsetBits.cmake | ||
CheckFmapFeatures.cmake | ||
CheckFTS.cmake | ||
CheckMallinfo.c | ||
CheckMallinfo.cmake | ||
CheckSignedRightShift.c | ||
CheckSignedRightShift.cmake | ||
CheckStructPacking.cmake | ||
CheckStructPacking_PRAGMA_PACK.c | ||
CheckStructPacking_PRAGMA_PACK_HPPA.c | ||
CheckUnamePosix.c | ||
CheckUnamePosix.cmake | ||
ColourMessage.cmake | ||
ExtractValidFlags.cmake | ||
FindCUnit.cmake | ||
FindCURSES.cmake | ||
FindIconv.cmake | ||
FindJSONC.cmake | ||
FindLibcheck.cmake | ||
FindLLVM.cmake | ||
FindMilter.cmake | ||
FindMSPack.cmake | ||
FindPCRE2.cmake | ||
FindPthreadW32.cmake | ||
FindRust.cmake | ||
FindSYSTEMD.cmake | ||
FindValgrind.cmake | ||
TestInline.c | ||
TestInline.cmake | ||
Version.cmake |