From 15b5430611dcf4b456abb4fa9c1bba77be57e6e4 Mon Sep 17 00:00:00 2001 From: Quinn Date: Mon, 15 Sep 2025 12:25:53 +0200 Subject: [PATCH] Instead of using `cmake`, I *obviously* need to use `cmake -G 'Unix Makefiles'`. How silly of me. MicroSoft Windows: "it just works" --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2ff2e33..c249bb1 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,7 @@ NAME = mcaselector-lite DEBUG ?= 0 CC ?= cc +CMAKE ?= cmake -G 'Unix Makefiles' # setting default compilation flags # some of which are able to be overwritten, others are always appended @@ -61,7 +62,7 @@ endif # compiles the libraries using cmake lib/obj/%/: lib/%/ - cmake -S $< -B $@ + $(CMAKE) -S $< -B $@ $(MAKE) -C $@ # link together a runtime binary