[PROJ] cmake too new in CI
Javier Jimenez Shaw
j1 at jimenezshaw.com
Wed Nov 18 11:52:36 PST 2026
On Wed, 18 Nov 2026 at 20:48, Mike Taves <mwtoews at gmail.com> wrote:
>
>
> On Thu, 19 Nov 2026, 08:04 Javier Jimenez Shaw via PROJ, <
> proj at lists.osgeo.org> wrote:
>
>>
>>
>> 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?
>>
>
> Apologies as I was intending to fix this, but am tied up in a conference
> week. This is only an error in CI targeted for package authors (us), but
> does not normally show as an error for users with the latest CMake.
>
What do you mean? I installed cmake 4.5 in a virtual environment in my
computer (not available yet in pip) and I got a lot of errors.
> Cheers, Mike
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20261118/22d76117/attachment.htm>
More information about the PROJ
mailing list