CMake can't find Curses

后端 未结 6 1115
臣服心动
臣服心动 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:16

    Another way to fix it is to add these 2 lines to FindCurses.cmake (on top):

    set(CURSES_LIBRARY "/opt/lib/libncurses.so")
    set(CURSES_INCLUDE_PATH "/opt/include")
    

提交回复
热议问题