mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 23:50:11 +01:00
util: Use include_directories('..') instead include_directories('.') for inc_util
So include util headers are always using util/ prefix in mesa code base And prevent including files under src/util without util/ prefix Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Acked-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19546>
This commit is contained in:
parent
e399dc3544
commit
0b82281e3e
1 changed files with 4 additions and 1 deletions
|
|
@ -18,7 +18,10 @@
|
|||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
# SOFTWARE.
|
||||
|
||||
inc_util = include_directories('.')
|
||||
# inc_util only depends inc_include, this folder and nothing else under src
|
||||
# so we use include_directories('..') instead of inc_src to tell the fact
|
||||
# util is self contained.
|
||||
inc_util = [inc_include, include_directories('..')]
|
||||
|
||||
subdir('format')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue