From 7b570feed42976a6e787d79a70aaf8e667745e58 Mon Sep 17 00:00:00 2001 From: Ellie Hermaszewska Date: Thu, 14 Nov 2024 12:34:18 +0800 Subject: Correct include dir for libslang (#5539) This stops adding the repo root to the include path for anything linking with slang. This enabled a bunch of convenient includes, but might lead to confusing behavior for anyone including slang. Not to mention differences including it from an install vs source. Co-authored-by: Yong He --- tools/unit-test/slang-unit-test.cpp | 2 +- tools/unit-test/slang-unit-test.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/unit-test') diff --git a/tools/unit-test/slang-unit-test.cpp b/tools/unit-test/slang-unit-test.cpp index 61f778c9a..c5a50613b 100644 --- a/tools/unit-test/slang-unit-test.cpp +++ b/tools/unit-test/slang-unit-test.cpp @@ -1,7 +1,7 @@ #include "slang-unit-test.h" +#include "core/slang-basic.h" #include "slang.h" -#include "source/core/slang-basic.h" struct SlangUnitTest { diff --git a/tools/unit-test/slang-unit-test.h b/tools/unit-test/slang-unit-test.h index c63fb8a10..3484b3020 100644 --- a/tools/unit-test/slang-unit-test.h +++ b/tools/unit-test/slang-unit-test.h @@ -1,7 +1,7 @@ #pragma once +#include "core/slang-render-api-util.h" #include "slang.h" -#include "source/core/slang-render-api-util.h" enum class TestResult { -- cgit v1.2.3