Bug summary
#4890 uses RUN_OUTPUT_STDOUT_VARIABLE which is new in CMake 3.25. Thus, the CMake minimal version should be bumped to 3.25 in CMakeLists.txt, read_env.py, and the documentation.
DeePMD-kit Version
devel
Backend and its version
How did you download the software?
Built from source
Input Files, Running Commands, Error Log, etc.
As above.
Steps to Reproduce
As above.
Further Information, Files, and Links
No response