diff options
author | Christoph J. Thompson <cjsthompson@gmail.com> | 2012-03-11 10:17:16 +0100 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2012-03-11 10:16:04 -0700 |
commit | ca6e7a0d552e3b54c0833658409e34f9de3bead6 (patch) | |
tree | 4ecfbd04c1e2d36cb5501b1deb2b2b1ae5e71c73 /zlib.pc.cmakein | |
parent | f8867924c14a27f301b811933bcad3995016de22 (diff) | |
download | zlib-ca6e7a0d552e3b54c0833658409e34f9de3bead6.tar.gz zlib-ca6e7a0d552e3b54c0833658409e34f9de3bead6.tar.bz2 zlib-ca6e7a0d552e3b54c0833658409e34f9de3bead6.zip |
Generate and install the pkg-config file with cmake.
Diffstat (limited to '')
-rw-r--r-- | zlib.pc.cmakein | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/zlib.pc.cmakein b/zlib.pc.cmakein new file mode 100644 index 0000000..a5e6429 --- /dev/null +++ b/zlib.pc.cmakein | |||
@@ -0,0 +1,13 @@ | |||
1 | prefix=@CMAKE_INSTALL_PREFIX@ | ||
2 | exec_prefix=@CMAKE_INSTALL_PREFIX@ | ||
3 | libdir=@INSTALL_LIB_DIR@ | ||
4 | sharedlibdir=@INSTALL_LIB_DIR@ | ||
5 | includedir=@INSTALL_INC_DIR@ | ||
6 | |||
7 | Name: zlib | ||
8 | Description: zlib compression library | ||
9 | Version: @VERSION@ | ||
10 | |||
11 | Requires: | ||
12 | Libs: -L${libdir} -L${sharedlibdir} -lz | ||
13 | Cflags: -I${includedir} | ||