# superbuild v5.10.0 and external plugins

**URL:** https://discourse.paraview.org/t/superbuild-v5-10-0-and-external-plugins/8967
**Category:** ParaView Support
**Created:** [February 14, 2022, 12:53pm UTC](https://discourse.paraview.org/t/superbuild-v5-10-0-and-external-plugins/8967 "2022-02-14T12:53:31Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![jfavre](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/b5ac83/32.png) [@jfavre](https://discourse.paraview.org/u/jfavre)
#### Post date: [February 14, 2022, 12:53pm UTC](https://discourse.paraview.org/t/superbuild-v5-10-0-and-external-plugins/8967/1 "2022-02-14T12:53:31Z")

</div>

when using a superbuild **install** tree to compile a plugin, I have a number of undefined \*\_DIR because they refer to the build tree (to which I have no read access). The superbuild was done with PARAVIEW\_RELOCATABLE\_INSTALL=OFF, yet the file vtk-find-package-helpers.cmake shows the following list (embree\_DIR, ADIOS2\_DIR, OpenImageDenoise\_DIR, ospray\_DIR, TBB\_ROOT), pointing to the build tree, instead of somewhere on the install tree.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [February 14, 2022, 1:00pm UTC](https://discourse.paraview.org/t/superbuild-v5-10-0-and-external-plugins/8967/2 "2022-02-14T13:00:18Z")

</div>

Make sure you point to the right ParaView\_DIR, it should be install/lib/cmake/paraview

---

<div class="post-metadata">

### Author: ![jfavre](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/b5ac83/32.png) [@jfavre](https://discourse.paraview.org/u/jfavre)
#### Post date: [February 14, 2022, 1:14pm UTC](https://discourse.paraview.org/t/superbuild-v5-10-0-and-external-plugins/8967/3 "2022-02-14T13:14:39Z")

</div>

yes, indeed, I use lib/cmake/paraview-5.10 and the helper file is lib/cmake/paraview-5.10/vtk/vtk-find-package-helpers.cmake

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [February 14, 2022, 1:34pm UTC](https://discourse.paraview.org/t/superbuild-v5-10-0-and-external-plugins/8967/4 "2022-02-14T13:34:51Z")

</div>

This is unexpected, you may want to open an issue and provide steps to reproduce.

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [May 15, 2022, 7:45pm UTC](https://discourse.paraview.org/t/superbuild-v5-10-0-and-external-plugins/8967/5 "2022-05-15T19:45:29Z")

</div>

I’m assuming this is `make install` in a superbuild tree? I can see this happening. It’d be hard to fix it; I suspect that getting the superbuild to just build right into the destination would be best. The superbuild would need to expose a way to do that though.
