# Condition field for workflow presets

**URL:** <https://discourse.cmake.org/t/condition-field-for-workflow-presets/6934>\
**Category:** Development\
**Created:** [November 23, 2022, 5:53am UTC](https://discourse.cmake.org/t/condition-field-for-workflow-presets/6934 "2022-11-23T05:53:55Z")\
**Posts on this page:** 1\
**Showing post:** 12

<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, 7:17pm UTC](https://discourse.cmake.org/t/condition-field-for-workflow-presets/6934/12 "2024-04-02T19:17:25Z")

</div>

I used a Workaround possible with `cmake preset schema version 9`

see

- [Error: @4,9: Invalid "include" field in CMake Preset - #2 by ClausKlein](https://discourse.cmake.org/t/error-4-9-invalid-include-field-in-cmake-preset/10554/2)
- [Feature/add cmake workflow presets by ClausKlein · Pull Request #1 · ClausKlein/cpp\_vcpkg\_project · GitHub](https://github.com/ClausKlein/cpp_vcpkg_project/pull/1/files#)

---

_[View the full topic](https://discourse.cmake.org/t/condition-field-for-workflow-presets/6934)._
