How to add value to INCLUDES of build/build.ninja?

I want to include a header file from aten/src/ATen/native/test.cpp.
But I failed to include header file.

Seeing following file “build/build.ninja”
INCLUDES is not sufficient for target (test.cpp).

Is there any way to add parameter to INCLUDES by setup.py or CMakeLists.txt?

  INCLUDES = -I. -I../ -I../third_party/protobuf/src -isystem ../cmake/../third_party/eigen -isystem ../cmake/../third_party/pybind11/include -isystem ../cmake/../third_party/cub -I../third_party/onnx -Ithird_party/onnx -isystem /usr/local/cuda/include -Icaffe2/aten/src/TH -I../aten/src/TH -Icaffe2/aten/src/THC -I../aten/src/THC -I../aten/src/THCUNN -I../aten/src/ATen/cuda -I../aten/src -Icaffe2/aten/src -Iaten/src -I../aten/src/THNN -I../aten/../third_party/catch/single_include -Icaffe2/aten/src/ATen -I../aten/src/ATen/..

As a workaround, I add include directory to CMAKE_CXX_FLAGS in CMakeLists.txt.
From seeing generated build/build.ninja, the directory parameter added to FLAGS (not INCLUDES), Is there any good way to solve this?