forked from Archive/PX4-Autopilot
Force CMake to generate UNIX makefiles on all platforms
This commit is contained in:
parent
c414c7ef63
commit
90f2e8d61a
2
Makefile
2
Makefile
|
@ -63,7 +63,7 @@ j ?= 4
|
|||
# --------------------------------------------------------------------
|
||||
# describe how to build a cmake config
|
||||
define cmake-build
|
||||
+mkdir -p $(PWD)/build_$@ && cd $(PWD)/build_$@ && cmake .. -DCONFIG=$(1)
|
||||
+mkdir -p $(PWD)/build_$@ && cd $(PWD)/build_$@ && cmake .. -G"Unix Makefiles" -DCONFIG=$(1)
|
||||
+make -j$(j) -C $(PWD)/build_$@ --no-print-directory $(ARGS)
|
||||
endef
|
||||
|
||||
|
|
Loading…
Reference in New Issue