VTK exports -Wno-deprecated through VTKConfig.cmake
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Hi,
you are exporting compiler flags in CMake/VTKConfig.cmake.in (line 10-14). That's a bad idea most of the time, because projects using your libs import them automatically. For example I get a -Wno-deprecated from it (using the current Debian unstable packages (5.8.0-14.1), which means I don't get deprecation warnings for any of my code.
I would propose to simply delete the mentioned lines.