admin管理员组文章数量:1406322
I want to install "glad" using the vcpkg with this command:
.\vcpkg.exe install glad:x64-windows
But got an error:
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 has been removed from CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
-- Configuring incomplete, errors occurred!
How to handle this error?
For completeness, the full output, and the files it references:
- config-x64-windows-out.log
- config-x64-windows-dbg-CMakeCache.txt
- config-x64-windows-rel-CMakeCache.txt
I have CMake 4.0.0.
I tried to do bootstrap-vcpkg.bat
and git pull
in vcpkg directory but no dice.
本文标签: cmakeCannot install glad in vcpkgStack Overflow
版权声明:本文标题:cmake - Cannot install glad in vcpkg - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745004993a2637208.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论