Putting ParaViewConfig.cmake in the install tree of ParaView (like ITK).
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
In Windows, when we use ParaView library with Qt 5 (and other libraries), too many include paths are set to AM_MOC_INCLUDES in AutomocInfo.cmake that is generated by CMake and it causes failure of the build process in MS Visual Studio. If you are interested in the limitation, please refer to the following issue.
0014811: Too many include paths are set to AM_MOC_INCLUDES in AutomocInfo.cmake then the build fails. http://public.kitware.com/Bug/view.php?id=14811
With respect to ITK, setting its path to the install tree in CMake GUI instead of the build tree makes the set of path significantly short. So if a similar configuration is possible in ParaView, it is helpful for us.
Best regards.