Skip to content

Commit

Permalink
bug Makefile: fix extra cmake run in tests (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
segoon authored Feb 5, 2025
1 parent f017f34 commit c75f995
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 c75f995

Please sign in to comment.