ENH: make this backwards compatible with older FindCurses
This commit is contained in:
parent
cb1cdada76
commit
7eeec39538
|
@ -50,8 +50,7 @@ ENDIF(CURSES_LIBRARY AND CURSES_NEED_NCURSES)
|
|||
|
||||
IF(NOT CURSES_USE_NCURSES)
|
||||
FIND_FILE(CURSES_HAVE_CURSES_H curses.h )
|
||||
FIND_PATH(CURSES_CURSES_H_PATH curses.h )
|
||||
SET(CURSES_INCLUDE_PATH "${CURSES_CURSES_H_PATH}")
|
||||
FIND_PATH(CURSES_INCLUDE_PATH curses.h )
|
||||
|
||||
GET_FILENAME_COMPONENT(_cursesLibDir "${CURSES_LIBRARY}" PATH)
|
||||
GET_FILENAME_COMPONENT(_cursesParentDir "${_cursesLibDir}" PATH)
|
||||
|
|
Loading…
Reference in New Issue