From 668712c58fe518fdc997cc2103b848b043adceb6 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Fri, 21 Jul 2017 18:57:07 +0200 Subject: CMake: Install .pc Files Adds pkg-config (`.pc`) files for CMake based installs. --- cmake/protobuf-lite.pc.cmake | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 cmake/protobuf-lite.pc.cmake (limited to 'cmake/protobuf-lite.pc.cmake') 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 -- cgit v1.2.3