# Error install cxx-module on VS 2022

**URL:** <https://discourse.cmake.org/t/error-install-cxx-module-on-vs-2022/12774>\
**Category:** Code\
**Tags:** os:windows\
**Created:** [October 14, 2024, 9:39pm UTC](https://discourse.cmake.org/t/error-install-cxx-module-on-vs-2022/12774 "2024-10-14T21:39:41Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [October 18, 2024, 7:08pm UTC](https://discourse.cmake.org/t/error-install-cxx-module-on-vs-2022/12774/4 "2024-10-18T19:08:10Z")

</div>

It seem I should add the right `configurations` value to my packagePreset?

see [How to use ctest --build-and-test for single and multi config generators? - #3 by ClausKlein](https://discourse.cmake.org/t/how-to-use-ctest-build-and-test-for-single-and-multi-config-generators/12868/3)

---

_[View the full topic](https://discourse.cmake.org/t/error-install-cxx-module-on-vs-2022/12774)._
