From 4d61f85f12f2276a9c01ba035b13be2cf647228f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milo=C5=A1=20Komar=C4=8Devi=C4=87?= <4973094+kmilos@users.noreply.github.com> Date: Wed, 28 Feb 2024 12:49:07 +0100 Subject: [PATCH] CMake: Ensure openjpeg2 is used --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 44aa369827..706a31a12f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -167,7 +167,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