Commit graph

4 commits

Author SHA1 Message Date
Val S.
ee59e9b630
Fix typo in Linux cross-compile instructions (#1614)
BZIP2_LIBRARY should actually be BZIP2_LIBRARY_RELEASE
or else BZIP2_LIBRARIES

Resolves: https://github.com/Cisco-Talos/clamav/issues/1611
2025-10-22 14:04:54 -04:00
Val Snyder
af6d3e85ec
CMake: improve ncurses detection; separate TINFO_LIBRARY input
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.
2025-08-27 14:24:27 -04:00
RainRat
143d23c326
Fix typos and remove duplicate #include 2024-04-10 19:31:46 -04:00
Micah Snyder
b8691543db
Docs: add ARM64 cross-compile instructions for Windows and Linux 2024-03-26 12:48:11 -04:00