build(make): simplify with camera models default on
This commit is contained in:
parent
178e362900
commit
05e5552e46
7
Makefile
7
Makefile
|
@ -25,16 +25,11 @@ MKFILE_DIR := $(patsubst %/,%,$(dir $(MKFILE_PATH)))
|
||||||
# Options
|
# Options
|
||||||
#
|
#
|
||||||
# SUDO: sudo command
|
# SUDO: sudo command
|
||||||
# CAM_MODELS: cmake build with -DWITH_CAM_MODELS=ON
|
|
||||||
#
|
#
|
||||||
# e.g. make [TARGET] SUDO=
|
# e.g. make [TARGET] SUDO=
|
||||||
# e.g. make [TARGET] CAM_MODELS=1
|
|
||||||
|
|
||||||
SUDO ?= sudo
|
SUDO ?= sudo
|
||||||
|
CMAKE_BUILD_EXTRA_OPTIONS ?=
|
||||||
CAM_MODELS ?=
|
|
||||||
|
|
||||||
CMAKE_BUILD_EXTRA_OPTIONS := $(CMAKE_BUILD_EXTRA_OPTIONS) -DWITH_CAM_MODELS=ON
|
|
||||||
|
|
||||||
.DEFAULT_GOAL := all
|
.DEFAULT_GOAL := all
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ include(${CMAKE_CURRENT_LIST_DIR}/Utils.cmake)
|
||||||
option(WITH_API "Build with API layer, need OpenCV" ON)
|
option(WITH_API "Build with API layer, need OpenCV" ON)
|
||||||
option(WITH_DEVICE_INFO_REQUIRED "Build with device info required" ON)
|
option(WITH_DEVICE_INFO_REQUIRED "Build with device info required" ON)
|
||||||
|
|
||||||
option(WITH_CAM_MODELS "Build with more camera models, WITH_API must be ON" OFF)
|
option(WITH_CAM_MODELS "Build with more camera models, WITH_API must be ON" ON)
|
||||||
|
|
||||||
# 3rdparty components
|
# 3rdparty components
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user