From d5bc0eaf82b12ad64d7c0da4bb48a52a79e3e4dc Mon Sep 17 00:00:00 2001 From: varadhab Date: Mon, 7 Sep 2020 19:55:01 +0530 Subject: [PATCH] Update conanfile.py Fails to build when tiff option is set to False. Option name in the opencv test package should be same as opencv recipe options - tiff --- test_package/conanfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_package/conanfile.py b/test_package/conanfile.py index b6dd1a0..09a8d83 100644 --- a/test_package/conanfile.py +++ b/test_package/conanfile.py @@ -30,7 +30,7 @@ def test(self): test_images = [] if self.options["opencv"].jpeg: test_images.append('lena.jpg') - if self.options["opencv"].libtiff != False: + if self.options["opencv"].tiff != False: test_images.append('normal.tiff') if self.options["libtiff"].lzma != False: test_images.append('lzma.tiff')