Fix dependency for pkg-config (issue #594) (#795)
authorStefan Weil <sw@weilnetz.de>
Mon, 11 Jul 2016 22:45:51 +0000 (00:45 +0200)
committerMatthieu Darbois <mayeut@users.noreply.github.com>
Mon, 11 Jul 2016 22:45:51 +0000 (00:45 +0200)
openjpeg provides libopenjp2.pc, so the require statements must refer to
libopenjp2 instead of openjp2.
Fixes #594

Signed-off-by: Stefan Weil <sw@weilnetz.de>
src/lib/openjpip/libopenjpip.pc.cmake.in
src/lib/openjpwl/libopenjpwl.pc.cmake.in

index da950a8f79f8ee23d9e4f4fb4d2428a154303e1f..7c3f29af2528e115c85891f6c06d4290c80d543f 100644 (file)
@@ -9,7 +9,7 @@ Name: openjpip
 Description: JPEG2000 Interactivity tools, APIs and protocols (Part 9)
 URL: http://www.openjpeg.org/
 Version: @OPENJPEG_VERSION@
-Requires: openjp2
+Requires: libopenjp2
 Libs: -L${libdir} -lopenjpip
 Libs.private: -lm -lcurl -lfcgi -lpthread
 Cflags: -I${includedir}
index a6e6ab263c3bd83fc8d3bf7a675f42b8c31c7e6b..b12441978665bc16f4e477b6def1debad027de12 100644 (file)
@@ -9,7 +9,7 @@ Name: openjpwl
 Description: JPEG2000 Wireless library (Part 11)
 URL: http://www.openjpeg.org/
 Version: @OPENJPEG_VERSION@
-Requires: openjp2
+Requires: libopenjp2
 Libs: -L${libdir} -lopenjpwl
 Libs.private: -lm
 Cflags: -I${includedir}