# paraview-5.8 : Unknown CMake command "ADD\_PARAVIEW\_PLUGIN".

**URL:** https://discourse.paraview.org/t/paraview-5-8-unknown-cmake-command-add-paraview-plugin/4834
**Category:** ParaView Support
**Created:** [July 14, 2020, 10:45am UTC](https://discourse.paraview.org/t/paraview-5-8-unknown-cmake-command-add-paraview-plugin/4834 "2020-07-14T10:45:54Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![olesenm](https://discourse.paraview.org/user_avatar/discourse.paraview.org/olesenm/32/17416_2.png) [@olesenm](https://discourse.paraview.org/u/olesenm)
#### Post date: [July 28, 2020, 2:26pm UTC](https://discourse.paraview.org/t/paraview-5-8-unknown-cmake-command-add-paraview-plugin/4834/3 "2020-07-28T14:26:04Z")

</div>

Many things changed for building plugins between paraview-5.6 and paraview-5.7, with some further (minor) refinements for paraview-5.8.

This might be one place to start:  
[https://discourse.paraview.org/t/building-plugins-modules-with-paraview-5-7-0-cmake/](https://discourse.paraview.org/t/building-plugins-modules-with-paraview-5-7-0-cmake/)

You need to change a few things when scanning for files etc. It might be hard to follow, but here is my real-world example for building a paraview plugin both with paraview \<= 5.6 and paraview \>= 5.7. Examining the differences might give you clues for your own plugin.

Example: [https://develop.openfoam.com/modules/visualization/-/tree/develop/src/paraview-plugins/blockMeshReader](https://develop.openfoam.com/modules/visualization/-/tree/develop/src/paraview-plugins/blockMeshReader)

---

_[View the full topic](https://discourse.paraview.org/t/paraview-5-8-unknown-cmake-command-add-paraview-plugin/4834)._
