[libc] Add path to include generated headers for hermetic tests
authorJoseph Huber <jhuber6@vols.utk.edu>
Tue, 25 Apr 2023 23:29:35 +0000 (18:29 -0500)
committerJoseph Huber <jhuber6@vols.utk.edu>
Wed, 26 Apr 2023 21:52:29 +0000 (16:52 -0500)
commitfb5a3bc8f81ddbfbec5118eb1a881de8c7bdf615
tree1a1efc3cbfaee3d153d5008c26f2e940e98e6d9a
parent82e5994c8d72734be813db7ea56af7325b9c9f68
[libc] Add path to include generated headers for hermetic tests

The generated header files live in the build directory's include path.
When targeting a hermetic build we want to make sure we only use headers
generated by the project itself if availible.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D149216
libc/test/UnitTest/CMakeLists.txt