# Where is Slicerconfig.cmake

**URL:** <https://discourse.slicer.org/t/where-is-slicerconfig-cmake/4173>\
**Category:** Support\
**Tags:** build\
**Created:** [September 23, 2018, 2:21pm UTC](https://discourse.slicer.org/t/where-is-slicerconfig-cmake/4173 "2018-09-23T14:21:23Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![darekdev](https://avatars.discourse-cdn.com/v4/letter/d/e5b9ba/32.png) [@darekdev](https://discourse.slicer.org/u/darekdev)\
**Post date:** [September 30, 2018, 8:45am UTC](https://discourse.slicer.org/t/where-is-slicerconfig-cmake/4173/10 "2018-09-30T08:45:37Z")

</div>

Did you remove build directory before running cmake? Clean up build directory (delete it and create new empty) and then set Qt5\_DIR according to this [Build Error PythonQt Visual Studio 2015 Qt 5.9.2](https://discourse.slicer.org/t/build-error-pythonqt-visual-studio-2015-qt-5-9-2/1411/4?u=darekdev).

---

_[View the full topic](https://discourse.slicer.org/t/where-is-slicerconfig-cmake/4173)._
