Skip to content

Commit

Permalink
bug Makefile: fix extra cmake run in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
segoon committed Feb 5, 2025
1 parent fdc27bf commit 3c02621
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ all: test-debug test-release
$(addprefix cmake-, $(PRESETS)): cmake-%:
cmake --preset $*

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

# Build using cmake
.PHONY: $(addprefix build-, $(PRESETS))
Expand Down

0 comments on commit 3c02621

Please sign in to comment.