mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-06-02 09:46:34 +03:00
cmake: LIB_NCURSES also accept pdcurses
The Fedora mingw environment comes with pdcurses, which states > Note that ncurses is not available for MinGW / Windows. > Applications which need curses functionality can use this > package, provided they don't use any of the extensions > specific to ncurses. This at least allows the cross compile build to succeed, I have not tested the executable under Windows or Wine.
This commit is contained in:
@@ -220,7 +220,7 @@ endif()
|
||||
find_library(HAVE_LIBREADLINE NAMES ${PREFERRED_LIBREADLINE})
|
||||
if(HAVE_LIBREADLINE)
|
||||
set(LIB_LIBREADLINE ${HAVE_LIBREADLINE})
|
||||
find_library(LIB_NCURSES NAMES ncurses)
|
||||
find_library(LIB_NCURSES NAMES ncurses pdcurses)
|
||||
elseif(MSVC)
|
||||
set(HAVE_LIBREADLINE 1)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user