trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2012

Re: [trinity-devel] Why? TDE cmake does NOT respect 'export CMAKE_INCLUDE_PATH=X'

From: Serghei Amelian <serghei@...>
Date: Thu, 15 Mar 2012 02:40:35 +0200
On Thursday 15 March 2012 02:07:19 Darrell Anderson wrote:
> >   I'll try the pkg_search_module( APR apr-1 ) approach
> > and see if that works as
> > well.
>
> Write an if-else test for the apr pc file. If apr-1.0 was hard coded then
> some distros must install apr that way. So both tests must occur.
>
> Darrell

I'm against agressive searching. Is much easier to fix a compilation failure 
than to hunt strange bugs generated by a wrong detection.

So, my advice is to use pkgconfig system when is possible.

-- 
Serghei