dankamongmen / panelreels

high-level objects built atop ncurses
https://nick-black.com/dankwiki/index.php/Outcurses
Apache License 2.0
8 stars 1 forks source link

Regular ncurses without wide support is getting linked into outcurses-demo #29

Closed dankamongmen closed 4 years ago

dankamongmen commented 4 years ago

Due to a bug in CMake (see https://gitlab.kitware.com/cmake/cmake/issues/19883), we link in the unnecessary -lform, which drags in -lncurses. As a result, wide-character support breaks down :(.

dankamongmen commented 4 years ago

I've switched to using pkg-config for ncursesw for now :/.

dankamongmen commented 4 years ago

To get things working all the way, I still needed to add a setlocale() to outcurses-demo.

dankamongmen commented 4 years ago

Submitted a merge request: https://gitlab.kitware.com/cmake/cmake/merge_requests/3947

dankamongmen commented 4 years ago

Huzzah, my patch made it into CMake 3.16 after all! https://gitlab.kitware.com/cmake/cmake/issues/19883