mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 08:34:37 +08:00
Improve NDK build error handling
Change-Id: I1dd51d8c5d3b8eef829f60a72c8c869e18b64830
This commit is contained in:
committed by
Sameer Agarwal
parent
27789c0d96
commit
d2090cd10a
@@ -79,6 +79,11 @@ ifneq ($(shell $(LOCAL_PATH)/assert_ndk_version.sh "r9d" $(NDK_ROOT)), true)
|
||||
$(error Ceres requires NDK version r9d or greater)
|
||||
endif
|
||||
|
||||
# Ceres requires Eigen to build.
|
||||
ifndef EIGEN_PATH
|
||||
$(error Ceres requires Eigen; please invoke via EIGEN_PATH=... ndk-build)
|
||||
endif
|
||||
|
||||
EIGEN_PATH := $(EIGEN_PATH)
|
||||
CERES_INCLUDE_PATHS := $(CERES_EXTRA_INCLUDES)
|
||||
CERES_INCLUDE_PATHS += $(LOCAL_PATH)/../internal
|
||||
|
||||
Reference in New Issue
Block a user