[Beignet] [PATCH] GBE: fix terminfo library linkage

2014-02-16 Thread Boqun Feng
In some distros, the terminal libraries are divided into two libraries, one is tinfo and the other is ncurses, however, for other distros, there is only one single ncurses library with all functions. In order to link proper terminal library for LLVM, find_library macro in cmake can be used. In

Re: [Beignet] [PATCH] GBE: fix terminfo library linkage

2014-02-16 Thread Igor Gnatenko
On Mon, 2014-02-17 at 10:12 +0800, Zhigang Gong wrote: This patch LGTM. CC to Igor, could you help to test this patch in your environment? Sure! I've tested. It works. Thanks. On Mon, Feb 17, 2014 at 09:49:26AM +0800, Boqun Feng wrote: In some distros, the terminal libraries are