diff --git a/Makefile b/Makefile index 08fb860..2e28fa6 100644 --- a/Makefile +++ b/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 diff --git a/cmake/Option.cmake b/cmake/Option.cmake index 658915b..d9c9104 100644 --- a/cmake/Option.cmake +++ b/cmake/Option.cmake @@ -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