From 2f54d3ef628e814c52126de026c976048af6dd78 Mon Sep 17 00:00:00 2001 From: Christian Beier Date: Mon, 2 Jan 2017 14:43:30 +0100 Subject: [PATCH] CMake: bump SOVERSION to 1. Fixes https://github.com/LibVNC/libvncserver/issues/149 --- CMakeLists.txt | 2 +- libvncclient.pc.cmakein | 14 ++++++++++++++ libvncserver.pc.cmakein | 13 +++++++++++++ 3 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 libvncclient.pc.cmakein create mode 100644 libvncserver.pc.cmakein diff --git a/CMakeLists.txt b/CMakeLists.txt index 385a7e4..87c7856 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,7 +15,7 @@ set(FULL_PACKAGE_NAME "LibVNCServer") set(VERSION_MAJOR "0") set(VERSION_MINOR "9") set(VERSION_PATCHLEVEL "11") -set(VERSION_SO "0") +set(VERSION_SO "1") set(PACKAGE_VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCHLEVEL}") set(PROJECT_BUGREPORT_PATH "https://github.com/LibVNC/libvncserver/issues") set(CMAKE_C_FLAGS "-O2 -W -Wall -g") diff --git a/libvncclient.pc.cmakein b/libvncclient.pc.cmakein new file mode 100644 index 0000000..37495e7 --- /dev/null +++ b/libvncclient.pc.cmakein @@ -0,0 +1,14 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: LibVNCClient +Description: A library for easy implementation of a VNC client. +Version: @VERSION@ +Requires: +Requires.private: zlib +Libs: -L${libdir} -lvncclient +Libs.private: @LIBS@ @WSOCKLIB@ +Cflags: -I${includedir} + diff --git a/libvncserver.pc.cmakein b/libvncserver.pc.cmakein new file mode 100644 index 0000000..f38d74f --- /dev/null +++ b/libvncserver.pc.cmakein @@ -0,0 +1,13 @@ +prefix=@CMAKE_INSTALL_PREFIX@ +exec_prefix=@CMAKE_INSTALL_PREFIX@ +libdir=@CMAKE_INSTALL_PREFIX@/lib +includedir=@CMAKE_INSTALL_PREFIX@/include + +Name: LibVNCServer +Description: A library for easy implementation of a VNC server. +Version: @PACKAGE_VERSION@ +Requires: +Requires.private: zlib +Libs: -L${libdir} -lvncserver +Libs.private: @PRIVATE_LIBS@ +Cflags: -I${includedir}