Makefile escape cmake generator string

This commit is contained in:
Daniel Agar 2016-12-31 18:31:02 -05:00 committed by Lorenz Meier
parent 351b3d20cb
commit 9ae5e55f43
1 changed files with 3 additions and 3 deletions

View File

@ -79,15 +79,15 @@ ifndef NO_NINJA_BUILD
endif endif
ifdef NINJA_BUILD ifdef NINJA_BUILD
PX4_CMAKE_GENERATOR := "Ninja" PX4_CMAKE_GENERATOR := Ninja
PX4_MAKE := $(NINJA_BIN) PX4_MAKE := $(NINJA_BIN)
PX4_MAKE_ARGS := PX4_MAKE_ARGS :=
else else
ifdef SYSTEMROOT ifdef SYSTEMROOT
# Windows # Windows
PX4_CMAKE_GENERATOR := "MSYS Makefiles" PX4_CMAKE_GENERATOR := "MSYS\ Makefiles"
else else
PX4_CMAKE_GENERATOR := "Unix Makefiles" PX4_CMAKE_GENERATOR := "Unix\ Makefiles"
endif endif
PX4_MAKE = $(MAKE) PX4_MAKE = $(MAKE)
PX4_MAKE_ARGS = -j$(j) --no-print-directory PX4_MAKE_ARGS = -j$(j) --no-print-directory