openjpeg-2.3.0 : disable the static lib.
|Reported by:||Owned by:|
Although the book claims that only a shared lib is installed, that is not true. My own scripts hide unexpected static libs at the end of each package. With poppler-0.68.0 cmake (piucking up the targets from openjpeg) thus fails:
CMake Error at /usr/lib/openjpeg-2.3/OpenJPEGTargets.cmake:90 (message): The imported target "openjp2_static" references the file "/usr/lib/libopenjp2.a" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/lib/openjpeg-2.3/OpenJPEGTargets.cmake" but not all the files it references.
Rebuilding openjpeg2 with