Update: cmake files link to cann/cmake repository
Co-authored-by: ouyangcaike<ouyangcaike@h-partners.com>
# message auto-generated for no-merge-commit merge:
!1748 merge FetchContent into master
Update: cmake files link to cann/cmake repository
Created-by: ouyangcaike
Commit-by: ouyangcaike
Merged-by: cann-robot
Description: ## 描述
<!--在这里详细描述你的改动,包括改动的原因和所采取的方法。-->
Update: cmake files link to cann/cmake repository
1. Include cann/cmake in CMakeLists.txt
2. Delete code blocks that are duplicated with the cann/cmake repository
3. Modify version.cmake
Refer to the pull-requests of cann/runtime repo for modifications: https://gitcode.com/cann/runtime/pull/1154
## 关联的Issue
<!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。-->
<!-- 如果这个PR不涉及Issue,可填写"NA"。-->
## 测试
<!--描述进行了哪些测试来验证你的改动。包括但不限于构造对应xx测试用例、二级冒烟、算子泛化等。-->
1. 编译,验证修改前后二进制一致。
2. 验证全量拦截任务。
## 文档更新
<!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。-->
## 类型标签
<!-- [x] 表示选中 -->
- [ ] Bug修复
- [ ] 新特性
- [x] 性能优化
- [ ] 文档更新
- [ ] 其他,请描述:
See merge request: cann/hcomm!1748