Imported Upstream version 1.4.0
[platform/core/ml/nnfw.git] / infra / cmake / packages / SixSourceConfig.cmake
1 function(_SIXSource_import)
2     nnas_include(ExternalSourceTools)
3     nnas_include(OptionTools)
4
5     envoption(EXTERNAL_DOWNLOAD_SERVER "https://github.com")
6     set(six_URL ${EXTERNAL_DOWNLOAD_SERVER}/benjaminp/six/archive/1.11.0.tar.gz)
7
8     ExternalSource_Get("PYTHON_SIX" ${DOWNLOAD_NNPACK} ${six_URL})
9
10     set(PYTHON_SIX_SOURCE_DIR ${PYTHON_SIX_SOURCE_DIR} PARENT_SCOPE)
11     set(PYTHON_SIX_SOURCE_FOUND ${PYTHON_SIX_SOURCE_GET} PARENT_SCOPE)
12 endfunction(_SIXSource_import)
13
14 _SIXSource_import()