forked from Archive/PX4-Autopilot
Makefile escape cmake generator string
This commit is contained in:
parent
351b3d20cb
commit
9ae5e55f43
6
Makefile
6
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue