Commit 127e0ded authored by Junfeng Dong's avatar Junfeng Dong Committed by Robert Kimball

Add revert command for eigen patch to make incremental build happy. (#2774)

parent 8432917d
......@@ -24,13 +24,17 @@ set(EIGEN_GIT_URL https://github.com/eigenteam/eigen-git-mirror)
# Download Eigen
#------------------------------------------------------------------------------
# Revert prior changes to make incremental build work.
set(EIGEN_PATCH_REVERT_COMMAND cd ${EXTERNAL_PROJECTS_ROOT}/eigen/src/ext_eigen && git reset HEAD --hard)
ExternalProject_Add(
ext_eigen
PREFIX eigen
GIT_REPOSITORY ${EIGEN_GIT_URL}
GIT_TAG ${EIGEN_GIT_TAG}
UPDATE_COMMAND ""
PATCH_COMMAND git apply --ignore-space-change --ignore-whitespace ${CMAKE_SOURCE_DIR}/cmake/eigen.patch
PATCH_COMMAND ${EIGEN_PATCH_REVERT_COMMAND}
COMMAND git apply --ignore-space-change --ignore-whitespace ${CMAKE_SOURCE_DIR}/cmake/eigen.patch
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND ""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment