# vtk\_modules warning in CMake Project

**URL:** https://discourse.vtk.org/t/vtk-modules-warning-in-cmake-project/7530
**Category:** Support
**Created:** [December 30, 2021, 3:26pm UTC](https://discourse.vtk.org/t/vtk-modules-warning-in-cmake-project/7530 "2021-12-30T15:26:49Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Michael\_Jackson](https://discourse.vtk.org/user_avatar/discourse.vtk.org/michael_jackson/32/61_2.png) [@Michael\_Jackson](https://discourse.vtk.org/u/Michael_Jackson)
#### Post date: [December 30, 2021, 3:26pm UTC](https://discourse.vtk.org/t/vtk-modules-warning-in-cmake-project/7530/1 "2021-12-30T15:26:49Z")

</div>

When I configure my project that uses VTK I am consistently getting this error:

````auto
  No `MODULES` passed to `vtk_modules_autoinit`.
Call Stack (most recent call first):
  common/CMakeLists.txt:42 (vtk_module_autoinit)
This warning is for project developers. Use -Wno-dev to suppress it.```

Should I be worried about this?
````

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)
#### Post date: [January 2, 2022, 9:27pm UTC](https://discourse.vtk.org/t/vtk-modules-warning-in-cmake-project/7530/2 "2022-01-02T21:27:08Z")

</div>

It means that `vtk_module_autoinit` is being called without any modules to create autoinit bits for. This may mean that there are no modules to deal with (in which case, skip the call completely), or the variable you’re using is empty (which is probably a problem).
