[PROJ] cmake too new in CI

Mike Taves mwtoews at gmail.com
Wed Nov 18 11:48:10 PST 2026


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.

Cheers, Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20261119/5b0e1a38/attachment.htm>


More information about the PROJ mailing list