From c5663c4e00361d7b054233fbdb5eb1cd2be53c1f Mon Sep 17 00:00:00 2001 From: Nick Bowler Date: Fri, 31 Jan 2020 14:56:21 -0500 Subject: [PATCH] Fix VPATH builds from clean checkout. When doing a VPATH build from a fully clean checkout, the GOB outputs end up in the build directory. When this happens, #include "pcx.h" won't find the header because this header is in srcdir. The solution is to make sure we always #include relative to the top src/ directory, which is already explicitly added to the compiler search path. --- src/engine/texture.gob | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/texture.gob b/src/engine/texture.gob index 981c898..630013e 100644 --- a/src/engine/texture.gob +++ b/src/engine/texture.gob @@ -25,8 +25,8 @@ #include #include #include -#include "pack.h" -#include "pcx.h" +#include +#include %} %h{ -- 2.43.0