mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-09-23 01:26:19 +03:00
Merge pull request #1856 from ndim/accept-pdcurses-as-ncurses
cmake: LIB_NCURSES also accept pdcurses
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