Hi,

Dave Neary wrote:
> After some digging it turns out that it works OK with the FindBoost in
> our tree before revision 8809 - there's a bug-fix to add -gcc-mt which
> appears to apply all the time - the check is never done without the
> -gcc-mt for libraries.
> 
> I'm not sure yet how to fix this properly, but reverting FindBoost got
> me compiling again.

I have characterised this - don't know what to do to fix it, though.

Here's what happens:

test for BOOST_DATE_TIME

if (not found)
 set BOOST_LIB_SUFFIX=-gcc-mt
 test for BOOST_DATE_TIME

test for BOOST_FILESYSTEM_LIBRARY

etc

The problem is the test for BOOST_DATE_TIME, which sets a suffix if it's
not found without one, and then doesn't unset it (so all of the
following tests don't look for the lib without the suffix).

The best way to fix this, IMHO, is to remove the test for
BOOST_DATE_TIME, which isn't a dependency of the wengophone. The
alternative way is to unset BOOST_LIB_SUFFIX before each successive test
- could someone who understands CMake a bit better make a patch?

Cheers,
Dave.

-- 
Dave Neary
OpenWengo Community Development Manager
Email: [EMAIL PROTECTED]
_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Reply via email to