On Fri, Aug 26, 2011 at 11:40 AM, Marc-André Moreau
<marcandre.mor...@gmail.com> wrote:
> Here's a forum post describing the problem people have with the SUSE cunit
> package:
> http://ufoai.ninex.info/forum/index.php?topic=5428.0
> A quick fix is to add "-lnurses" to LD_FLAGS, but someone replied to that
> saying that the cunit .pc file should be used instead for proper detection.
> This makes me wonder, are we detecting cunit the right way?
> Can anybody suggest improvements to the current cunit detection script?
> https://github.com/FreeRDP/FreeRDP-1.0/blob/master/cmake/FindCUnit.cmake
>

Very recent versions of cunit (>= 2.1-1) install a cunit.pc file, as
that post indicates. However, older versions of cunit do not.

Using the information in the cunit.pc file is as simple as adding a
pkg_check_modules call and then referencing the resulting variables.

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Freerdp-devel mailing list
Freerdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Reply via email to