summaryrefslogtreecommitdiffstats
path: root/src/libcarddav.pc.cmake
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2019-10-09 14:34:13 +0200
committergregory guy <[email protected]>2019-10-10 15:37:41 +0200
commite2b50ac8f07a0fd04ee7ad5f4ad72075fddad215 (patch)
treefd80f907db2859f498bbad5327258b36987e8f2a /src/libcarddav.pc.cmake
parentbd72b49fd4871419afb0cde973dd3e9013746489 (diff)
downloadlibcarddav-e2b50ac8f07a0fd04ee7ad5f4ad72075fddad215.tar.gz
libcarddav-e2b50ac8f07a0fd04ee7ad5f4ad72075fddad215.zip
Conversion to the cmake building system.
rfc4791.pdf has been moved to the doc folder. carddav pc file has been moved to the src folder. Signed-off-by: gregory guy <[email protected]>
Diffstat (limited to 'src/libcarddav.pc.cmake')
-rw-r--r--src/libcarddav.pc.cmake15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/libcarddav.pc.cmake b/src/libcarddav.pc.cmake
new file mode 100644
index 0000000..b9be1c7
--- /dev/null
+++ b/src/libcarddav.pc.cmake
@@ -0,0 +1,15 @@
+prefix=@CMAKE_INSTALL_PREFIX@
+exec_prefix=@PC_EXEC_PREFIX@
+libdir=@PC_LIB_DIR@
+includedir=@PC_INCLUDE_DIR@
+
+pkglibdir=${libdir}
+pkgincludedir=${includedir}/@PROJECT_NAME@
+
+Name: @PROJECT_NAME@
+Version: @PACKAGE_VERSION@
+Description: @PROJECT_NAME@ is a client library for CardDAV
+
+Requires.private: gthread-2.0 libcurl
+Cflags: -I${includedir}
+Libs: -L${libdir} -lcarddav