pkg-config: Update libcjson.pc.in

This commit is contained in:
Max Bruckner 2016-11-05 15:50:01 +07:00
parent d5baeff85f
commit 3d546c7036
2 changed files with 5 additions and 3 deletions

View File

@ -12,6 +12,7 @@ add_compile_options(-ansi -pedantic -Wall -Wextra -Werror -Wstrict-prototypes -W
#variables for pkg-config
set(prefix ${CMAKE_INSTALL_PREFIX})
set(libdir "${CMAKE_INSTALL_PREFIX}/lib")
set(version ${CJSON_VERSION})
#cJSON
set(PROJ_CJSON cJSON)

View File

@ -1,9 +1,10 @@
prefix=@prefix@
libdir=@libdir@
includedir=${prefix}/include/cJSON
version=@version@
Name: libcJSON
Version: 1.0
Name: libcjson
Version: ${version}
Description: Ultralightweight JSON parser in ANSI C
Libs: -L${libdir} -lcJSON
Libs: -L${libdir} -lcjson
Cflags: -I${includedir}