diff options
Diffstat (limited to 'cmake/packages/TensorFlowSourceConfig.cmake')
-rw-r--r-- | cmake/packages/TensorFlowSourceConfig.cmake | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/cmake/packages/TensorFlowSourceConfig.cmake b/cmake/packages/TensorFlowSourceConfig.cmake deleted file mode 100644 index 5828334c7..000000000 --- a/cmake/packages/TensorFlowSourceConfig.cmake +++ /dev/null @@ -1,18 +0,0 @@ -function(_TensorFlowSource_import) - if(NOT DOWNLOAD_TENSORFLOW) - set(TensorFlowSource_FOUND FALSE PARENT_SCOPE) - return() - endif(NOT DOWNLOAD_TENSORFLOW) - - nnfw_include(ExternalSourceTools) - nnfw_include(OptionTools) - - envoption(EXTERNAL_DOWNLOAD_SERVER "https://github.com") - set(TENSORFLOW_URL ${EXTERNAL_DOWNLOAD_SERVER}/tensorflow/tensorflow/archive/v1.12.0.tar.gz) - ExternalSource_Download("tensorflow" ${TENSORFLOW_URL}) - - set(TensorFlowSource_DIR ${tensorflow_SOURCE_DIR} PARENT_SCOPE) - set(TensorFlowSource_FOUND TRUE PARENT_SCOPE) -endfunction(_TensorFlowSource_import) - -_TensorFlowSource_import() |