CMake Error at third_party/sentencepiece/CMakeLists.txt:15 (cmake_minimum_required):
Compatibility with CMake < 3.5 has been removed from CMake.
Update the VERSION argument value. Or, use the ... syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
使用CMAKE_ARGS="-DGGML_CUDA=ON" pip install -U chatglm-cpp编译安装时,会出现上述错误,目前只能通过源码编译修改CMakeLists.txt文件解决