Commit Graph

4 Commits

Author SHA1 Message Date
Alexander Grund
20a00a0328
Include jsonCPP headers via #include "json/json.h"
Don't use #include "include/json/json.h" which is unusual and therefore confusing
This allows to remove the header symlinking done for the system lib version

Closes #42303
2020-08-20 16:39:40 +02:00
Jason Zaman
d4e4641e80 systemlibs: jsoncpp: update header symlinks for jsoncpp 1.9
Signed-off-by: Jason Zaman <jason@perfinion.com>
2019-08-04 14:47:31 +08:00
Jason Zaman
05b43db45d systemlibs: allow building with PREFIX other than /usr
Some use-cases want to build packages in a different path than /usr. For
example to have a set of packages independent from other system
binaries. This change allows building with bazel build
--define=PREFIX=/some/other/path to search that path instead. The
default of /usr is set in bazelrc so that building with no options will
work as before and setting PREFIX on the commandline or later in the
bazelrc will override that setting if desired. PREFIX is not used by the
bundled build so should not affect that at all.

This also adds a few other standard Make variables that can be
overridden independently if needed.

Signed-off-by: Jason Zaman <jason@perfinion.com>
2018-09-22 10:31:26 +08:00
Jason Zaman
209e4d12a2 third_party: unbundle jsoncpp dep
The jsoncpp headers are included with a different path so we have to
symlink them so the are in the dir structure that is expected.

Signed-off-by: Jason Zaman <jason@perfinion.com>
2018-07-13 11:25:51 +08:00