style: remove CAM_MODELS=? complie prams
This commit is contained in:
parent
e899f7cc1c
commit
17141b64dd
7
Makefile
7
Makefile
|
@ -34,12 +34,7 @@ SUDO ?= sudo
|
||||||
|
|
||||||
CAM_MODELS ?=
|
CAM_MODELS ?=
|
||||||
|
|
||||||
CMAKE_BUILD_EXTRA_OPTIONS :=
|
CMAKE_BUILD_EXTRA_OPTIONS := $(CMAKE_BUILD_EXTRA_OPTIONS) -DWITH_CAM_MODELS=ON
|
||||||
ifeq ($(CAM_MODELS),)
|
|
||||||
CMAKE_BUILD_EXTRA_OPTIONS := $(CMAKE_BUILD_EXTRA_OPTIONS) -DWITH_CAM_MODELS=OFF
|
|
||||||
else
|
|
||||||
CMAKE_BUILD_EXTRA_OPTIONS := $(CMAKE_BUILD_EXTRA_OPTIONS) -DWITH_CAM_MODELS=ON
|
|
||||||
endif
|
|
||||||
|
|
||||||
.DEFAULT_GOAL := all
|
.DEFAULT_GOAL := all
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user