Path for pkg-config

See #497, bottom comment.
This commit is contained in:
Christopher Dunn 2016-12-19 11:42:51 -06:00
parent f700fe4559
commit e25fb5384a

View File

@ -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" ../.. cmake -DCMAKE_BUILD_TYPE=debug -DBUILD_STATIC_LIBS=ON -DBUILD_SHARED_LIBS=OFF -DARCHIVE_INSTALL_DIR=. -G "Unix Makefiles" ../..
make 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 Running `cmake -h` will display the list of available generators (passed using
the `-G` option). the `-G` option).