CMake can't find Curses

后端 未结 6 1113
臣服心动
臣服心动 2021-02-12 13:54

I am trying to compile the openlase library from www.marcansoft.com and have been running into problems with CMake. CMake is returning an error stating that it cannot find Curse

6条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-12 14:08

    Temporarily set CURSES_NEED_NCURSES to TRUE to force the use of NCURSES, rather than letting CMake try to find CURSES.

    set(CURSES_NEED_NCURSES TRUE)
    

    CURSES_USE_NCURSES is used by FindCurses.cmake internally, so setting that won't help.

提交回复
热议问题