Skip to content
Snippets Groups Projects
Commit 1bfc919c authored by Daniel Agar's avatar Daniel Agar
Browse files

cmake generate MSYS Makefiles on windows

parent e8fd711a
No related branches found
No related tags found
No related merge requests found
......@@ -74,7 +74,13 @@ ifdef NINJA_BUILD
PX4_MAKE = ninja
PX4_MAKE_ARGS =
else
PX4_CMAKE_GENERATOR ?= "Unix Makefiles"
ifdef SYSTEMROOT
# Windows
PX4_CMAKE_GENERATOR ?= "MSYS Makefiles"
else
PX4_CMAKE_GENERATOR ?= "Unix Makefiles"
endif
PX4_MAKE = make
PX4_MAKE_ARGS = -j$(j) --no-print-directory
endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment