Commit 7ae23fd1 authored by Ming Zhao's avatar Ming Zhao

Add gendir to the include path so that building with bazel doesn't

complain config.h can't be found.
parent 8de80b9a
...@@ -20,6 +20,10 @@ cc_library( ...@@ -20,6 +20,10 @@ cc_library(
], ],
hdrs = ["gflags.h"], hdrs = ["gflags.h"],
copts = [ 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", "-Wno-sign-compare",
"-DHAVE_STDINT_H", "-DHAVE_STDINT_H",
"-DHAVE_SYS_TYPES_H", "-DHAVE_SYS_TYPES_H",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment