eigen.cmake 536 字节
Newer Older
Q
qijun 已提交
1 2 3 4
INCLUDE(ExternalProject)

SET(EIGEN_SOURCE_DIR ${THIRD_PARTY_PATH}/eigen3)

Q
qijun 已提交
5
INCLUDE_DIRECTORIES(${EIGEN_SOURCE_DIR}/src/eigen3)
Q
qijun 已提交
6 7 8 9

ExternalProject_Add(
    eigen3
    ${EXTERNAL_PROJECT_LOG_ARGS}
Q
qijun 已提交
10 11
    URL            "https://bitbucket.org/eigen/eigen/get/3.3.4.tar.gz"
    URL_MD5        "1a47e78efe365a97de0c022d127607c3"
Q
qijun 已提交
12 13 14 15 16 17 18 19
    PREFIX          ${EIGEN_SOURCE_DIR}
    UPDATE_COMMAND  ""
    CONFIGURE_COMMAND ""
    BUILD_COMMAND     ""
    INSTALL_COMMAND   ""
    TEST_COMMAND      ""
)

Q
qijun 已提交
20
LIST(APPEND external_project_dependencies eigen3)