# \[Superbuild\] paraviewpluginsexternal project usage

**URL:** https://discourse.paraview.org/t/superbuild-paraviewpluginsexternal-project-usage/850
**Category:** ParaView Support
**Created:** [November 5, 2018, 4:52pm UTC](https://discourse.paraview.org/t/superbuild-paraviewpluginsexternal-project-usage/850 "2018-11-05T16:52:59Z")
**Posts on this page:** 1
**Showing post:** 15

<div class="post-metadata">

### Author: ![npillai2](https://discourse.paraview.org/user_avatar/discourse.paraview.org/npillai2/32/5857_2.png) [@npillai2](https://discourse.paraview.org/u/npillai2)
#### Post date: [July 15, 2020, 9:13am UTC](https://discourse.paraview.org/t/superbuild-paraviewpluginsexternal-project-usage/850/15 "2020-07-15T09:13:57Z")

</div>

Hi @mwestphal, I’m experiencing the same issue. My configuration is

```
cmake -make \
	-DENABLE_paraviewpluginsexternal=ON \
	-Dparaview_PLUGINS_AUTOLOAD=PhastaSyncIOReader \
	-Dparaview_PLUGINS_EXTERNAL=PhastaSyncIOReader \
	-Dparaview_PLUGIN_PhastaSyncIOReader_PATH=/home/npillai2/ParaViewSyncIOReaderPlugin \
	-DSUPERBUILD_PROJECT_PARALLELISM=2 \
	-DCMAKE_INSTALL_PREFIX=/usr/local/usrapps/iabolotn/install/paraview_5.8.0 \
      ../paraview-superbuild 

```

when adding the following

```
IF (ParaView_SOURCE_DIR)
  INCLUDE_DIRECTORIES( ${VTK_INCLUDE_DIRS} )
ELSE (ParaView_SOURCE_DIR)
  FIND_PACKAGE(ParaView REQUIRED)
  INCLUDE(${PARAVIEW_USE_FILE})
ENDIF (ParaView_SOURCE_DIR)

```

to the end of my CMakeLists.txt (lines 375-380) [which, by the way, is not located in the “build” directory, only the parent “paraview-superbuild”] , I get this error if I go through ccmake

```
CMake Error at CMakeLists.txt:378 (FIND_PACKAGE):
   By not providing "FindParaView.cmake" in CMAKE_MODULE_PATH this project has
   asked CMake to find a package configuration file provided by "ParaView",
   but CMake did not find one.

   Could not find a package configuration file provided by "ParaView" with any
   of the following names:

     ParaViewConfig.cmake
     paraview-config.cmake

   Add the installation prefix of "ParaView" to CMAKE_PREFIX_PATH or set
   "ParaView_DIR" to a directory containing one of the above files. If
   "ParaView" provides a separate development package or SDK, be sure it has
   been installed.

```

This is a little confusing to me as usually the parent directory with whatever I get from github has those files (i.e. if it’s not the superbuild, e.g. via “git clone [https://gitlab.kitware.com/paraview/paraview.git](https://gitlab.kitware.com/paraview/paraview.git)”) but the superbuild works so many layers of magic, I have no idea where those files are.

Am I putting the commands in the right place? And if not, how should I go about resolving this issue?

---

_[View the full topic](https://discourse.paraview.org/t/superbuild-paraviewpluginsexternal-project-usage/850)._
