Development install tree cannot be used to build plugin.
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
For the "hard-test" with PARAVIEW_INSTALL_DEVELOPMENT turned on.
- make && make install
- relocate the built tree somewhere else
- rename the source tree to another name (to check if the source tree really isn't needed).
After doing this, and setting ParaView_DIR to point to the new location, building a separate plugin still fails, due to the following bits from the plug CMakeLists.txt:
FIND_PACKAGE(ParaView REQUIRED) INCLUDE(${PARAVIEW_USE_FILE})
The $ParaView_DIR/ParaViewConfig.cmake is found and it contains references to the now non-existent paraview source directory.
If I move $ParaView_DIR/ParaViewConfig.cmake out of the way, the $ParaView_DIR/lib/paraview-3.7/ParaViewConfig.cmake file is correctly found and the build succeeds.