Skip to content

Commit

Permalink
CMake: Ensure openjpeg2 is used
Browse files Browse the repository at this point in the history
  • Loading branch information
kmilos authored Feb 28, 2024
1 parent 33e00a4 commit 4d61f85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4d61f85

Please sign in to comment.