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
|
||||
#
|
||||
# SUDO: sudo command
|
||||
# CAM_MODELS: cmake build with -DWITH_CAM_MODELS=ON
|
||||
#
|
||||
# e.g. make [TARGET] SUDO=
|
||||
# e.g. make [TARGET] CAM_MODELS=1
|
||||
|
||||
SUDO ?= sudo
|
||||
|
||||
CAM_MODELS ?=
|
||||
|
||||
CMAKE_BUILD_EXTRA_OPTIONS := $(CMAKE_BUILD_EXTRA_OPTIONS) -DWITH_CAM_MODELS=ON
|
||||
CMAKE_BUILD_EXTRA_OPTIONS ?=
|
||||
|
||||
.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_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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user