Skip to content

Commit 1bd86d7

Browse files
Frank Neuberbadaix
authored andcommitted
add version to PKG_CONFIG
1 parent 721146e commit 1bd86d7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ cmake_minimum_required(VERSION 2.8)
33
project(jsonrpcpp CXX)
44
set(PROJECT_DESCRIPTION "C++ JSON-RPC 2.0 library")
55
set(PROJECT_URL "https://github.com/badaix/jsonrpcpp")
6+
set(PROJECT_VERSION "1.0.0")
67

78
option(BUILD_SHARED_LIBS "Build jsonrpcpp as a shared library" ON)
89
option(BUILD_STATIC_LIBS "Build jsonrpcpp as a static library" ON)

cmake/jsonrpcpp.pc.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
66
Name: @PROJECT_NAME@
77
Description: @PROJECT_DESCRIPTION@
88
URL: @PROJECT_URL@
9+
Version: @PROJECT_VERSION@
910

1011
Libs: -L${libdir} -ljsonrpcpp
1112
Cflags: -I${includedir}

0 commit comments

Comments
 (0)