cmake issue on 10.3

Alexander Neundorf neundorf at kde.org
Thu Jul 6 19:11:00 CEST 2006


On Wednesday 05 July 2006 14:34, you wrote:
> it looks like there's an issue with this test in FindKDE4Internal.cmake:
>
>    string (REGEX MATCH " [34]\\.[0-9]\\.[0-9]" _gcc_version
> "${_gcc_info}")
>    macro_ensure_version("4.1.0" "${_gcc_version}"
> GCC_IS_NEWER_THAN_4_1)
>
> ...on 10.3, the gcc -v output is:
>
>    Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
>    Thread model: posix
>    gcc version 3.3 20030304 (Apple Computer, Inc. build 1671)
>
> (it does not have a micro release, only major.minor)
>
> Is it OK to change it to this:
>
>    string (REGEX MATCH " [34]\\.[0-9](\\.[0-9])?" _gcc_version
> "${_gcc_info}")
>    macro_ensure_version("4.1.0" "${_gcc_version}"
> GCC_IS_NEWER_THAN_4_1)
>
> Or do you think that will mess other stuff up?

Can you please also post the output of gcc --version ?

Thanks
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