[PROJ] cmake too new in CI

Javier Jimenez Shaw j1 at jimenezshaw.com
Wed Nov 18 11:03:52 PST 2026


On Wed, 18 Nov 2026 at 18:24, Nicklas Larsson via PROJ <proj at lists.osgeo.org>
wrote:

> The following little patch may turn the error to a warning:
>
>
> --- a/ci/install.sh
> +++ b/ci/install.sh
> @@ -44,7 +44,7 @@ if [ "$cmp_44" = "$sorted_44" ]; then  # CMake 4.4 or
> later
>  else  # Before CMake 4.4
>      cmake_diagnostics=dev
>  fi
> -CMAKE_OPTIONS="-Werror=${cmake_diagnostics} --log-level=VERBOSE"
> +CMAKE_OPTIONS="-Werror=${cmake_diagnostics}
> -Wno-error=non-target-directive --log-level=VERBOSE"
>   if test "$TRAVIS" != ""; then
>      # For some odd reason the tar xzvf $TAR_FILENAME doesn't work on
> Travis-CI …
>
>
> To make the runners pass in waiting for addition of recommended use of
> target_include_directories
>
> Do you think that anybody will implement the recommended usage if it is
not failing in CI?


> Nicklas
>
> > On 18 Nov 2026, at 14:57, Laurențiu Nicola via PROJ <
> proj at lists.osgeo.org> wrote:
> >
> > In my earlier PR, Even linked to
> https://github.com/OSGeo/gdal/pull/15528, which might help.
> >
> > Laurentiu
> >
> > On Wed, Nov 18, 2026, at 15:53, Javier Jimenez Shaw via PROJ wrote:
> >>
> >>
> >> Hi
> >>
> >> Apparently we have some problems with modern cmake in CI
> >>
> >> https://github.com/OSGeo/PROJ/actions/runs/44284124926/job/134732244089
> >>
> >> This is using cmake 4.5.0, that raises some warnings as errors, and
> does fail the test (for reasons not related to the PR). The problem is that
> we cannot test that (and coming) PR in macOS now.
> >> I can expect that happening in the future in more platforms.
> >>
> >> Can anybody help with the cmake configuration?
> >>
> >> Thank you
> >> Javier.
> >> _______________________________________________
> >> PROJ mailing list
> >> PROJ at lists.osgeo.org
> >> https://lists.osgeo.org/mailman/listinfo/proj
> >>
> > _______________________________________________
> > PROJ mailing list
> > PROJ at lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/proj
>
> _______________________________________________
> PROJ mailing list
> PROJ at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/proj
>

On Wed, 18 Nov 2026 at 18:24, Nicklas Larsson via PROJ <proj at lists.osgeo.org>
wrote:

> The following little patch may turn the error to a warning:
>
>
> --- a/ci/install.sh
> +++ b/ci/install.sh
> @@ -44,7 +44,7 @@ if [ "$cmp_44" = "$sorted_44" ]; then  # CMake 4.4 or
> later
>  else  # Before CMake 4.4
>      cmake_diagnostics=dev
>  fi
> -CMAKE_OPTIONS="-Werror=${cmake_diagnostics} --log-level=VERBOSE"
> +CMAKE_OPTIONS="-Werror=${cmake_diagnostics}
> -Wno-error=non-target-directive --log-level=VERBOSE"
>   if test "$TRAVIS" != ""; then
>      # For some odd reason the tar xzvf $TAR_FILENAME doesn't work on
> Travis-CI …
>
>
> To make the runners pass in waiting for addition of recommended use of
> target_include_directories
>
> Nicklas
>
> > On 18 Nov 2026, at 14:57, Laurențiu Nicola via PROJ <
> proj at lists.osgeo.org> wrote:
> >
> > In my earlier PR, Even linked to
> https://github.com/OSGeo/gdal/pull/15528, which might help.
> >
> > Laurentiu
> >
> > On Wed, Nov 18, 2026, at 15:53, Javier Jimenez Shaw via PROJ wrote:
> >>
> >>
> >> Hi
> >>
> >> Apparently we have some problems with modern cmake in CI
> >>
> >> https://github.com/OSGeo/PROJ/actions/runs/44284124926/job/134732244089
> >>
> >> This is using cmake 4.5.0, that raises some warnings as errors, and
> does fail the test (for reasons not related to the PR). The problem is that
> we cannot test that (and coming) PR in macOS now.
> >> I can expect that happening in the future in more platforms.
> >>
> >> Can anybody help with the cmake configuration?
> >>
> >> Thank you
> >> Javier.
> >> _______________________________________________
> >> PROJ mailing list
> >> PROJ at lists.osgeo.org
> >> https://lists.osgeo.org/mailman/listinfo/proj
> >>
> > _______________________________________________
> > PROJ mailing list
> > PROJ at lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/proj
>
> _______________________________________________
> PROJ mailing list
> PROJ at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/proj
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20261118/31415ada/attachment-0001.htm>


More information about the PROJ mailing list