Fix cmake: Use heuristics to detect when the same file is mapped in multiple locations.
Unfortunately, our cmake build scripts have historically passed -I flags specifying both the root of the source tree and the specific subdirectory in which the .capnp file is located. This is not correct, but since people do it (including our own cmake build), we need to not fail when this happens. Instead we print a warning.
Showing
Please
register
or
sign in
to comment