<div dir="auto"><br><br><div class="gmail_quote gmail_quote_container" dir="auto"><div dir="ltr" class="gmail_attr">On Thu, 19 Nov 2026, 08:04 Javier Jimenez Shaw via PROJ, <<a href="mailto:proj@lists.osgeo.org">proj@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 18 Nov 2026 at 18:24, Nicklas Larsson via PROJ <<a href="mailto:proj@lists.osgeo.org" target="_blank" rel="noreferrer">proj@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The following little patch may turn the error to a warning:<br>
<br>
<br>
--- a/ci/install.sh<br>
+++ b/ci/install.sh<br>
@@ -44,7 +44,7 @@ if [ "$cmp_44" = "$sorted_44" ]; then  # CMake 4.4 or later<br>
 else  # Before CMake 4.4<br>
     cmake_diagnostics=dev<br>
 fi<br>
-CMAKE_OPTIONS="-Werror=${cmake_diagnostics} --log-level=VERBOSE"<br>
+CMAKE_OPTIONS="-Werror=${cmake_diagnostics} -Wno-error=non-target-directive --log-level=VERBOSE"<br>
  if test "$TRAVIS" != ""; then<br>
     # For some odd reason the tar xzvf $TAR_FILENAME doesn't work on Travis-CI …<br>
<br>
<br>
To make the runners pass in waiting for addition of recommended use of target_include_directories<br>
<br></blockquote><div>Do you think that anybody will implement the recommended usage if it is not failing in CI?</div></div></div></blockquote></div><div dir="auto"><br></div><div dir="auto">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.</div><div dir="auto"><br></div><div dir="auto">Cheers, Mike </div><div class="gmail_quote gmail_quote_container" dir="auto"></div></div>