Changing ParaView_DIR in a plugin after configuring is not working correctly
Changing the ParaView_DIR after configuration of plugin is not working correctly. VTK_DIR and VTKm_DIR are not set to their correct values.
Steps to reproduce :
- Configure elevation filter example plugin pointing ParaView_DIR to dirA
- Inspect CMakeCache.txt, VTK_DIR and VTKm_DIR are correctly set
- Configure again while pointing ParaView_DIR to dirB
- Inspect CMakeCache.txt, VTK_DIR and VTKm_DIR are still set to their previous value