Open t0ny-peng opened 1 year ago
Attempt 1: Add copts = ["-isystem external/acl/include"],
. I found this in the compiler command
-isystem /home/<name>/git/iceoryx-build-infra/.bazel/383bf083faa830bb13ec7c86d4b4286b/sandbox/processwrapper-sandbox/10/execroot/__main__/external/acl/include
.
And that folder does have a sys/acl.h
. But it symlinks to a non-existing file /home/<name>/git/iceoryx-build-infra/.bazel/383bf083faa830bb13ec7c86d4b4286b/execroot/__main__/external/acl/include/sys/acl.h
E.g., I have wrapped `acl library with the following rule:
And her's the way how I compile Iceoryx:
However, the compilation failed because one of the file in Iceoryx cannot find
sys/acl.h
. Upon reviewing the compilation command, the folderexternal/acl/include
is not in the compiler options.May I ask what's the correct Bazel way here to pass a Bazel library target as dependencies for a CMake target?