Skip to content

部分 CMakeList 不兼容最新 CMake 版本 #511

Description

@Piper-WD

Describe the bug | Bug描述
如题,部分 CMakeList 脚本中部分内容与最新的 CMake 版本(4.3.0)不兼容,会导致在 windows 上运行 bat 文件失败

具体而言,是类似于 cmake_minimum_required(VERSION 3.2) 的代码出现了错误:CMake 4.x 似乎不再对 3.5 以下版本提供兼容。修改后可以正常安装

详细错误信息

Image

Desktop | 桌面环境

  • OS: Windows
  • Version win11
  • CPU AMD Ryzen 9 8940HX with Radeon Graphics (2.40 GHz)
  • GPU [NVidia RTX 5060]
  • Memory [e.g. 16GB]
  • Compiler [e.g. MSVC2019, Clang13, G++7.0]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions