summaryrefslogtreecommitdiff
path: root/libopenjpeg1.pc.cmake
diff options
context:
space:
mode:
authorRex Dieter <rdieter@gmail.com>2011-01-13 19:29:18 +0000
committerRex Dieter <rdieter@gmail.com>2011-01-13 19:29:18 +0000
commitd2d6e1fd6ff9a09631cb7c7353cbdfb74f1ccc4e (patch)
treee6e71a7b27133e490fd23830c457c43e85c78d3b /libopenjpeg1.pc.cmake
parent08459fd94478e2f260abab8d5ac1808bae3e4180 (diff)
add pkg-config support to cmake
Diffstat (limited to 'libopenjpeg1.pc.cmake')
-rw-r--r--libopenjpeg1.pc.cmake12
1 files changed, 12 insertions, 0 deletions
diff --git a/libopenjpeg1.pc.cmake b/libopenjpeg1.pc.cmake
new file mode 100644
index 00000000..2caa0fa3
--- /dev/null
+++ b/libopenjpeg1.pc.cmake
@@ -0,0 +1,12 @@
+prefix=${CMAKE_INSTALL_PREFIX}
+bindir=${OPENJPEG_INSTALL_BIN_DIR}
+datadir=${OPENJPEG_INSTALL_DATA_DIR}
+libdir=${OPENJPEG_INSTALL_LIB_DIR}
+includedir=${OPENJPEG_INSTALL_INCLUDE_DIR}
+
+Name: openjpeg
+Description: JPEG2000 files library
+URL: http://www.openjpeg.org/
+Version: ${OPENJPEG_VERSION}
+Libs: -L${libdir} -lopenjpeg
+Cflags: -I${includedir}