TEST: Don't build Ultima 1 or 8 tests when subengine is not built

This commit is contained in:
Le Philousophe 2023-12-04 08:07:03 +01:00
parent 4bf543f6e7
commit 52a27d3b0a

View File

@ -36,7 +36,12 @@ ifeq ($(ENABLE_WINTERMUTE), STATIC_PLUGIN)
endif
ifeq ($(ENABLE_ULTIMA), STATIC_PLUGIN)
TESTS += $(srcdir)/test/engines/ultima/*/*/*.h
ifdef ENABLE_ULTIMA1
TESTS += $(srcdir)/test/engines/ultima/shared/*/*.h
endif
ifdef ENABLE_ULTIMA8
TESTS += $(srcdir)/test/engines/ultima/ultima8/*/*.h
endif
TEST_LIBS += engines/ultima/libultima.a
endif