From 957093ad2b2d02e311787e17cac2bbeb6a46d43c Mon Sep 17 00:00:00 2001 From: Dirk Farin Date: Tue, 1 Oct 2024 22:42:46 +0200 Subject: [PATCH] revert: cmake OpenJPEG version check --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cdc6a3355a..b7708aa785 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -243,7 +243,7 @@ endif() plugin_option(OpenJPEG_ENCODER "OpenJPEG J2K encoder" OFF ON) plugin_option(OpenJPEG_DECODER "OpenJPEG J2K decoder" OFF ON) if (WITH_OpenJPEG_ENCODER OR WITH_OpenJPEG_DECODER) - find_package(OpenJPEG) + find_package(OpenJPEG 2) endif() # ffmpeg