Commit ef6f358d authored by Boudewijn Rempt's avatar Boudewijn Rempt

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
parent 3b1ab08c
...@@ -645,6 +645,9 @@ set_package_properties(HEIF PROPERTIES ...@@ -645,6 +645,9 @@ set_package_properties(HEIF PROPERTIES
TYPE OPTIONAL TYPE OPTIONAL
PURPOSE "Required by the Krita HEIF filter") PURPOSE "Required by the Krita HEIF filter")
macro_optional_find_package(OpenJPEG)
macro_log_feature(OPENJPEG_FOUND "openjpeg" "Free library for JPEG 2000 image compression" "http://www.openjpeg.org" FALSE "" "Required by the Krita JPEG 2000 filter")
set(LIBRAW_MIN_VERSION "0.16") set(LIBRAW_MIN_VERSION "0.16")
find_package(LibRaw ${LIBRAW_MIN_VERSION}) find_package(LibRaw ${LIBRAW_MIN_VERSION})
set_package_properties(LibRaw PROPERTIES set_package_properties(LibRaw PROPERTIES
......
...@@ -61,6 +61,7 @@ parts: ...@@ -61,6 +61,7 @@ parts:
- libopenexr-dev - libopenexr-dev
- libpng-dev - libpng-dev
- libpoppler-qt5-dev - libpoppler-qt5-dev
- libopenjpeg-dev
- libtiff5-dev - libtiff5-dev
- libvc-dev - libvc-dev
- libopencolorio-dev - libopencolorio-dev
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment