friendlyanon / cmake-init

The missing CMake project initializer
GNU General Public License v3.0
2.03k stars 78 forks source link

Could not read presets: Unrecognized "version" field #37

Closed fschutt closed 2 years ago

fschutt commented 2 years ago

I've followed the instructions exactly, using cmake-init v0.24.0. But when I do cd cpptest && cmake --preset=dev, I only get the error:

CMake Error: Could not read presets from 
C:/Users/Felix Schütt/Development/cpptest: Unrecognized "version" field

I've uploaded the code generated by cmake-init here for debugging: https://github.com/fschutt/cpptest

cmake 3.19.1 cmake-init 0.24.0 Windows 8.1 clang 12.0.0 target: x86_64-pc-windows-msvc

friendlyanon commented 2 years ago

Install:

Make sure you have these programs installed:

  • CMake 3.20 or newer

Reason: #34's closing commit