https://github.com/Kitware/CMake
Revision 1f646c6ce0766f8ab59868e7cac24034e6966504 authored by Mark Wright on 17 January 2014, 11:34:58 UTC, committed by Brad King on 06 May 2014, 19:29:33 UTC
When ncurses is built with USE=tinfo we need to find "tinfo" as a
dependency of the main library.  Otherwise 'cbreak' is missing:

  ld: ...: undefined reference to symbol 'cbreak'
  ld: note: 'cbreak' is defined in DSO /lib/libtinfo.so.5 so try adding
            it to the linker command line

See https://bugs.gentoo.org/show_bug.cgi?id=468622 for more information.

Applied-by: Rolf Eike Beer <eike@sf-mail.de>
1 parent 0e4a2c7
Raw File
Tip revision: 1f646c6ce0766f8ab59868e7cac24034e6966504 authored by Mark Wright on 17 January 2014, 11:34:58 UTC
FindCurses: Detect and satisfy ncurses dependency on tinfo
Tip revision: 1f646c6
.gitattributes
.gitattributes   export-ignore
.hooks*          export-ignore

bootstrap        crlf=input
configure        crlf=input
*.[1-9]          crlf=input
*.sh             crlf=input
*.sh.in          crlf=input

*.bat           -crlf
*.bat.in        -crlf
*.dsp           -crlf
*.dsptemplate   -crlf
*.dsw           -crlf
*.sln           -crlf
*.vcproj        -crlf

*.c              whitespace=tab-in-indent
*.h              whitespace=tab-in-indent
*.cxx            whitespace=tab-in-indent
*.txt            whitespace=tab-in-indent
*.cmake          whitespace=tab-in-indent
back to top