Fix patch being applied @7 which causes an error (#44367)

This commit is contained in:
Chris Marsh
2024-05-24 01:45:20 -06:00
committed by GitHub
parent d88d720577
commit d9d085da10

View File

@@ -92,7 +92,7 @@ class Proj(CMakePackage, AutotoolsPackage):
# CMake 3.19 refactored the FindTiff module interface, update older proj's
# to be compatible with this "new" interface
# patch replaces the TIFF_LIBRARY variable (no longer used) with TIFF_LIBRARIES
patch("proj-8.1-cmake-3.29-new-tiff-interface.patch", when="+tiff @7:9.1.0 ^cmake@3.19:")
patch("proj-8.1-cmake-3.29-new-tiff-interface.patch", when="+tiff @8:9.1.0 ^cmake@3.19:")
patch("proj.cmakelists.5.0.patch", when="@5.0")
patch("proj.cmakelists.5.1.patch", when="@5.1:5.2")
conflicts("cmake@3.19:", when="@:7")