From e25fb5384a96bedefb13f67a87ff7d4027389cec Mon Sep 17 00:00:00 2001 From: Christopher Dunn Date: Mon, 19 Dec 2016 11:42:51 -0600 Subject: [PATCH] Path for pkg-config See #497, bottom comment. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 93c8d1f..bfcd8b3 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,10 @@ Alternatively, from the command-line on Unix in the source directory: cmake -DCMAKE_BUILD_TYPE=debug -DBUILD_STATIC_LIBS=ON -DBUILD_SHARED_LIBS=OFF -DARCHIVE_INSTALL_DIR=. -G "Unix Makefiles" ../.. make +For a good pkg-config file, add: + + -DCMAKE_INSTALL_INCLUDEDIR=include/jsoncpp + Running `cmake -h` will display the list of available generators (passed using the `-G` option).