Skip to content

Commit

Permalink
add version to PKG_CONFIG
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Neuber authored and badaix committed Nov 13, 2017
1 parent 721146e commit 1bd86d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ cmake_minimum_required(VERSION 2.8)
project(jsonrpcpp CXX)
set(PROJECT_DESCRIPTION "C++ JSON-RPC 2.0 library")
set(PROJECT_URL "https://github.com/badaix/jsonrpcpp")
set(PROJECT_VERSION "1.0.0")

option(BUILD_SHARED_LIBS "Build jsonrpcpp as a shared library" ON)
option(BUILD_STATIC_LIBS "Build jsonrpcpp as a static library" ON)
Expand Down
1 change: 1 addition & 0 deletions cmake/jsonrpcpp.pc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
Name: @PROJECT_NAME@
Description: @PROJECT_DESCRIPTION@
URL: @PROJECT_URL@
Version: @PROJECT_VERSION@

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

0 comments on commit 1bd86d7

Please sign in to comment.