build(make): build ceres if cam_models on

This commit is contained in:
John Zhao 2019-01-03 17:17:36 +08:00
parent 6fd3dadfea
commit 44945687ce

View File

@ -115,6 +115,9 @@ init:
build: build:
@$(call echo,Make $@) @$(call echo,Make $@)
ifneq ($(CAM_MODELS),)
@$(MAKE) ceres
endif
ifeq ($(HOST_OS),Win) ifeq ($(HOST_OS),Win)
@$(call cmake_build,./_build,..,-DCMAKE_INSTALL_PREFIX=$(MKFILE_DIR)/_install) @$(call cmake_build,./_build,..,-DCMAKE_INSTALL_PREFIX=$(MKFILE_DIR)/_install)
else else