diff options
author | Axel Huebl <axel.huebl@plasma.ninja> | 2017-07-21 18:57:07 +0200 |
---|---|---|
committer | Axel Huebl <axel.huebl@plasma.ninja> | 2017-07-23 18:28:04 +0200 |
commit | 668712c58fe518fdc997cc2103b848b043adceb6 (patch) | |
tree | 85b3aafbb3fd5f8afe80dd53ef944855124bec1c /cmake/protobuf.pc.cmake | |
parent | e8a32d07ffc665695b7532b97f96970cdeff977e (diff) | |
download | protobuf-668712c58fe518fdc997cc2103b848b043adceb6.tar.gz protobuf-668712c58fe518fdc997cc2103b848b043adceb6.tar.bz2 protobuf-668712c58fe518fdc997cc2103b848b043adceb6.zip |
CMake: Install .pc Files
Adds pkg-config (`.pc`) files for CMake based installs.
Diffstat (limited to 'cmake/protobuf.pc.cmake')
-rw-r--r-- | cmake/protobuf.pc.cmake | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cmake/protobuf.pc.cmake b/cmake/protobuf.pc.cmake new file mode 100644 index 00000000..d33e98cc --- /dev/null +++ b/cmake/protobuf.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 @CMAKE_THREAD_LIBS_INIT@ +Cflags: -I${includedir} @CMAKE_THREAD_LIBS_INIT@ +Conflicts: protobuf-lite |