Skip to content

Commit bf1d8d9

Browse files
committed
bug Makefile: fix extra cmake run in tests
1 parent f017f34 commit bf1d8d9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ all: test-debug test-release
1212
$(addprefix cmake-, $(PRESETS)): cmake-%:
1313
cmake --preset $*
1414

15-
$(addsuffix /CMakeCache.txt, $(addprefix build-, $(PRESETS))): build-%/CMakeCache.txt: cmake-%
15+
$(addsuffix /CMakeCache.txt, $(addprefix build-, $(PRESETS))): build-%/CMakeCache.txt:
16+
$(MAKE) cmake-$*
1617

1718
# Build using cmake
1819
.PHONY: $(addprefix build-, $(PRESETS))

0 commit comments

Comments
 (0)