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")
本文介绍了一种解决FindCurses.cmake配置问题的方法,通过设置CURSES_LIBRARY和CURSES_INCLUDE_PATH的具体路径来修正配置文件,确保项目能够正确链接到ncurses库。
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")
1万+
2000

被折叠的 条评论
为什么被折叠?