mirror of
https://github.com/gflags/gflags.git
synced 2025-04-05 05:25:04 +00:00
Add gendir to the include path so that building with bazel doesn't
complain config.h can't be found.
This commit is contained in:
parent
8de80b9a2d
commit
7ae23fd1e7
1 changed files with 4 additions and 0 deletions
4
BUILD
4
BUILD
|
@ -20,6 +20,10 @@ cc_library(
|
|||
],
|
||||
hdrs = ["gflags.h"],
|
||||
copts = [
|
||||
# The config.h gets generated to the package directory of
|
||||
# GENDIR, and we don't want to put it into the includes
|
||||
# otherwise the dependent may pull it in by accident.
|
||||
"-I$(GENDIR)/" + PACKAGE_NAME,
|
||||
"-Wno-sign-compare",
|
||||
"-DHAVE_STDINT_H",
|
||||
"-DHAVE_SYS_TYPES_H",
|
||||
|
|
Loading…
Add table
Reference in a new issue