diff --git a/samples/dawn/CMakeLists.txt b/samples/dawn/CMakeLists.txt index 07d596edba..eaf697ebc4 100644 --- a/samples/dawn/CMakeLists.txt +++ b/samples/dawn/CMakeLists.txt @@ -14,6 +14,7 @@ add_library(dawn_sample_utils STATIC ${DAWN_DUMMY_FILE}) common_compile_options(dawn_sample_utils) +target_include_directories(dawn_sample_utils PRIVATE ${PROJECT_SOURCE_DIR}) target_sources(dawn_sample_utils PRIVATE "SampleUtils.cpp" "SampleUtils.h" diff --git a/samples/dawn/CPPLINT.cfg b/samples/dawn/CPPLINT.cfg index e6baf5cc10..4eb7dc1073 100644 --- a/samples/dawn/CPPLINT.cfg +++ b/samples/dawn/CPPLINT.cfg @@ -1,5 +1,4 @@ filter=-build/header_guard -filter=-build/include filter=-build/include_order filter=-build/include_what_you_use filter=-readability/casting diff --git a/samples/dawn/SampleUtils.cpp b/samples/dawn/SampleUtils.cpp index db14027c49..fab58bf359 100644 --- a/samples/dawn/SampleUtils.cpp +++ b/samples/dawn/SampleUtils.cpp @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -#include "SampleUtils.h" +#include "samples/dawn/SampleUtils.h" #include "GLFW/glfw3.h" #include "dawn/common/Assert.h"