Search for openjpeg in the toplevel cmakelists.txt
Note: the build scripts for windows, appimage and macos also still need to be updated to build the openjpeg dep