# Error: @4,9: Invalid "include" field in CMake Preset

**URL:** <https://discourse.cmake.org/t/error-4-9-invalid-include-field-in-cmake-preset/10554>\
**Category:** Code\
**Created:** [April 2, 2024, 3:58pm UTC](https://discourse.cmake.org/t/error-4-9-invalid-include-field-in-cmake-preset/10554 "2024-04-02T15:58:16Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ClausKlein](https://discourse.cmake.org/user_avatar/discourse.cmake.org/clausklein/32/352_2.png) [@ClausKlein](https://discourse.cmake.org/u/ClausKlein)\
**Post date:** [April 2, 2024, 6:19pm UTC](https://discourse.cmake.org/t/error-4-9-invalid-include-field-in-cmake-preset/10554/2 "2024-04-02T18:19:12Z")

</div>

with **cmake version 3.29.20240402-gf8ba5b1** works fine. 😀

fixed with [MR#9108](https://gitlab.kitware.com/cmake/cmake/-/merge_requests/9108)

for current cmake version 3.28…3.29 see [https://gitlab.kitware.com/cmake/cmake/-/issues/25654](https://gitlab.kitware.com/cmake/cmake/-/issues/25654)

---

_[View the full topic](https://discourse.cmake.org/t/error-4-9-invalid-include-field-in-cmake-preset/10554)._
