mirror of
https://github.com/DaveGamble/cJSON.git
synced 2023-08-10 21:13:26 +03:00
pkg-config: Update libcjson.pc.in
This commit is contained in:
parent
d5baeff85f
commit
3d546c7036
@ -12,6 +12,7 @@ add_compile_options(-ansi -pedantic -Wall -Wextra -Werror -Wstrict-prototypes -W
|
|||||||
#variables for pkg-config
|
#variables for pkg-config
|
||||||
set(prefix ${CMAKE_INSTALL_PREFIX})
|
set(prefix ${CMAKE_INSTALL_PREFIX})
|
||||||
set(libdir "${CMAKE_INSTALL_PREFIX}/lib")
|
set(libdir "${CMAKE_INSTALL_PREFIX}/lib")
|
||||||
|
set(version ${CJSON_VERSION})
|
||||||
|
|
||||||
#cJSON
|
#cJSON
|
||||||
set(PROJ_CJSON cJSON)
|
set(PROJ_CJSON cJSON)
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
prefix=@prefix@
|
prefix=@prefix@
|
||||||
libdir=@libdir@
|
libdir=@libdir@
|
||||||
includedir=${prefix}/include/cJSON
|
includedir=${prefix}/include/cJSON
|
||||||
|
version=@version@
|
||||||
|
|
||||||
Name: libcJSON
|
Name: libcjson
|
||||||
Version: 1.0
|
Version: ${version}
|
||||||
Description: Ultralightweight JSON parser in ANSI C
|
Description: Ultralightweight JSON parser in ANSI C
|
||||||
Libs: -L${libdir} -lcJSON
|
Libs: -L${libdir} -lcjson
|
||||||
Cflags: -I${includedir}
|
Cflags: -I${includedir}
|
||||||
|
Loading…
Reference in New Issue
Block a user