milk-org / milk-previous-cream

Multi-purpose Imaging Libraries toolKit (milk)
https://milk-org.github.io/milk/
GNU General Public License v3.0
0 stars 0 forks source link

cmake can't find (n)curses when compiler=pgcc #4

Closed oguyon closed 5 years ago

oguyon commented 6 years ago

Description If compiler=pgcc (version 18.4), cmake can't find (n)curses library. Strangely, this does not occur if compiler=gcc (version 7.2)

Fix: Added in file /usr/local/share/cmake-3.11/Modules/FindCurses.cmake, at top of file:

set(CURSES_LIBRARY "/usr/lib/x86_64-linux-gnu/libncurses.so") 
set(CURSES_INCLUDE_PATH "/usr/include")

Not sure if this is an issue with our cmake files...

oguyon commented 5 years ago

closing issue (default compiler = gcc for milk and cacao)