aboutsummaryrefslogtreecommitdiff
path: root/cmake/protobuf-lite.pc.cmake
diff options
context:
space:
mode:
authorAxel Huebl <axel.huebl@plasma.ninja>2017-07-21 18:57:07 +0200
committerAxel Huebl <axel.huebl@plasma.ninja>2017-07-24 18:05:58 +0200
commit2f3cf527224369318fedd88013d6a8e464d1aa3d (patch)
treeb2ebc5983ca763048cb49f1d7e420018f0a1f50f /cmake/protobuf-lite.pc.cmake
parent942a29cecd36f2a4b22fdd2179635cd548e6bd27 (diff)
downloadprotobuf-2f3cf527224369318fedd88013d6a8e464d1aa3d.tar.gz
protobuf-2f3cf527224369318fedd88013d6a8e464d1aa3d.tar.bz2
protobuf-2f3cf527224369318fedd88013d6a8e464d1aa3d.zip
CMake: Install .pc Files
Adds pkg-config (`.pc`) files for CMake based installs.
Diffstat (limited to 'cmake/protobuf-lite.pc.cmake')
-rw-r--r--cmake/protobuf-lite.pc.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/cmake/protobuf-lite.pc.cmake b/cmake/protobuf-lite.pc.cmake
new file mode 100644
index 00000000..cbe5426a
--- /dev/null
+++ b/cmake/protobuf-lite.pc.cmake
@@ -0,0 +1,11 @@
+prefix=@CMAKE_INSTALL_PREFIX@
+exec_prefix=@CMAKE_INSTALL_PREFIX@
+libdir=@CMAKE_INSTALL_FULL_LIBDIR@
+includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
+
+Name: Protocol Buffers
+Description: Google's Data Interchange Format
+Version: @protobuf_VERSION@
+Libs: -L${libdir} -lprotobuf-lite @CMAKE_THREAD_LIBS_INIT@
+Cflags: -I${includedir} @CMAKE_THREAD_LIBS_INIT@
+Conflicts: protobuf