eccodes package: apply cmake-patch only when @:2.10 (#12512)

This commit is contained in:
brietzke 2019-08-24 00:09:28 +02:00 committed by Peter Scheibel
parent b8175e3fae
commit c900cd64c3

View File

@ -72,7 +72,7 @@ class Eccodes(CMakePackage):
patch('enable_only_jasper.patch', when='jp2k=jasper') patch('enable_only_jasper.patch', when='jp2k=jasper')
# CMAKE_INSTALL_RPATH must be a semicolon-separated list. # CMAKE_INSTALL_RPATH must be a semicolon-separated list.
patch('cmake_install_rpath.patch') patch('cmake_install_rpath.patch', when='@:2.10')
@run_before('cmake') @run_before('cmake')
def check_fortran(self): def check_fortran(self):