Browse Source

pkgconfig: cjson include dir added

fixed #468
Moorthy 5 years ago
parent
commit
7103844037
2 changed files with 2 additions and 2 deletions
  1. 1 1
      library_config/libcjson.pc.in
  2. 1 1
      library_config/libcjson_utils.pc.in

+ 1 - 1
library_config/libcjson.pc.in

@@ -7,4 +7,4 @@ Description: Ultralightweight JSON parser in ANSI C
 URL: https://github.com/DaveGamble/cJSON
 Libs: -L${libdir} -lcjson
 Libs.private: -lm
-Cflags: -I${includedir}
+Cflags: -I${includedir} -I${includedir}/cjson

+ 1 - 1
library_config/libcjson_utils.pc.in

@@ -6,5 +6,5 @@ Version: @PROJECT_VERSION@
 Description: An implementation of JSON Pointer, Patch and Merge Patch based on cJSON.
 URL: https://github.com/DaveGamble/cJSON
 Libs: -L${libdir} -lcjson_utils
-Cflags: -I${includedir}
+Cflags: -I${includedir} -I${includedir}/cjson
 Requires: libcjson