提交 b8cc0792 编写于 作者: L liaogang

FIX: add eigen3 interface deps

上级 36254438
...@@ -5,7 +5,7 @@ SET(EIGEN_SOURCE_DIR ${THIRD_PARTY_PATH}/eigen3) ...@@ -5,7 +5,7 @@ SET(EIGEN_SOURCE_DIR ${THIRD_PARTY_PATH}/eigen3)
INCLUDE_DIRECTORIES(${EIGEN_SOURCE_DIR}/src/eigen3) INCLUDE_DIRECTORIES(${EIGEN_SOURCE_DIR}/src/eigen3)
ExternalProject_Add( ExternalProject_Add(
eigen3 extern_eigen3
${EXTERNAL_PROJECT_LOG_ARGS} ${EXTERNAL_PROJECT_LOG_ARGS}
# for latest version, please get from official website # for latest version, please get from official website
# URL "https://bitbucket.org/eigen/eigen/get/3.3.4.tar.gz" # URL "https://bitbucket.org/eigen/eigen/get/3.3.4.tar.gz"
...@@ -26,4 +26,7 @@ ExternalProject_Add( ...@@ -26,4 +26,7 @@ ExternalProject_Add(
TEST_COMMAND "" TEST_COMMAND ""
) )
LIST(APPEND external_project_dependencies eigen3) ADD_LIBRARY(eigen3 INTERFACE)
ADD_DEPENDENCIES(eigen3 extern_eigen3)
LIST(APPEND external_project_dependencies extern_eigen3)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册