summaryrefslogtreecommitdiff
path: root/infra/nncc/cmake/packages/EigenSource-fd6845384b86Config.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'infra/nncc/cmake/packages/EigenSource-fd6845384b86Config.cmake')
-rw-r--r--infra/nncc/cmake/packages/EigenSource-fd6845384b86Config.cmake9
1 files changed, 3 insertions, 6 deletions
diff --git a/infra/nncc/cmake/packages/EigenSource-fd6845384b86Config.cmake b/infra/nncc/cmake/packages/EigenSource-fd6845384b86Config.cmake
index 28ea48742..bf0f94d29 100644
--- a/infra/nncc/cmake/packages/EigenSource-fd6845384b86Config.cmake
+++ b/infra/nncc/cmake/packages/EigenSource-fd6845384b86Config.cmake
@@ -9,17 +9,14 @@ function(_import)
endif(NOT DOWNLOAD_EIGEN)
nncc_include(ExternalSourceTools)
- nncc_include(OptionTools)
+ nncc_include(ThirdPartyTools)
- # This URL originates from TensorFlow 1.12
- #
- # "tensorflow/workspace.bzl"
- envoption(EIGEN_fd6845384b86_URL https://bitbucket.org/eigen/eigen/get/fd6845384b86.tar.gz)
+ ThirdParty_URL(EIGEN_URL PACKAGE Eigen VERSION fd6845384b86)
ExternalSource_Download(EIGEN
DIRNAME EIGEN-fd6845384b86
CHECKSUM MD5=4c884968ede816a84c70e2cd2c81de8d
- ${EIGEN_fd6845384b86_URL}
+ ${EIGEN_URL}
)
set(EigenSource_DIR ${EIGEN_SOURCE_DIR} PARENT_SCOPE)