How to test for gnu extensions

Alexander Neundorf neundorf at kde.org
Fri Feb 10 16:44:11 CET 2006


On Friday 10 February 2006 00:49, Brad King wrote:
> David Faure wrote:
...
> > And I get this:
> >
> > from ConfigureChecks.cmake :
> > -D_XOPEN_SOURCE=500;-D_BSD_SOURCE;-D_GNU_SOURCE
>
> Oops, I didn't notice that _KDE4_PLATFORM_DEFINITIONS is a list and not
> a string.  The CMAKE_REQUIRED_FLAGS variable is supposed to be a string
> of compiler flags.  I'll update the Check* cmake modules to support a
> CMAKE_REQUIRED_DEFINITIONS for this purpose.

Then I think it's my fault.
I shouldn't have made it a list :-/

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net


More information about the Kde-buildsystem mailing list