未验证 提交 6292fc11 编写于 作者: arielyangpan's avatar arielyangpan 提交者: GitHub

fix: change cmake minimum required version to 3.0 in TSZ (#12088)

* fix: typo of showing distro info

* fix: change cmake minimum required version to 3.0 in TSZ

Fix Deprecation message when cmake building:

CMake Deprecation Warning at deps/TSZ/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
上级 2e4166e8
......@@ -64,7 +64,7 @@ IF (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
SET(TD_ARCHLINUX TRUE)
MESSAGE(STATUS "The current OS is Arch Linux")
ELSE ()
MESSAGE(STATUS "Ths distro is " ${TD_OS_INFO})
MESSAGE(STATUS "The distro is " ${TD_OS_INFO})
ENDIF()
ELSEIF (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
SET(TD_DARWIN TRUE)
......
Subproject commit 11c1060d4f917dd799ae628b131db5d6a5ef6954
Subproject commit 2ac3cf959ba1b3fc2afe3f617cc6ba023488eef6
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册