–depth 1 only download current code without all the history
for checkout commit of 3.7.2 i was need to remove --depth 1
it compiled fine (need add swap file) but there is no texture drawed as your test
i check trigger a bit the conf file without succes for now …
to compile :
git clone https://github.com/coelckers/gzdoom.git && cd gzdoom
git checkout 1455111ddca7142f97694047a540ce8c1bf4fa8f
mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release && make -j4