Skip to content

Commit

Permalink
Merge pull request #1135 from kmilos/patch-1
Browse files Browse the repository at this point in the history
CMake: Ensure openjpeg2 is used
  • Loading branch information
farindk authored Jun 11, 2024
2 parents 0f7c606 + 4d61f85 commit 15f22bd
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 15f22bd

Please sign in to comment.