CMake Error with VTK: "VTK::CommonColor" includes non-existent path

Thank you for your previous assistance; my program is now working successfully. I am currently developing an application that integrates VTK, OpenCV, and DeepStream, and I need help creating a proper Makefile to ensure these libraries are correctly configured and accessible.

I encountered an issue related to rendering the window output when running my code and raised it on the VTK forum. For reference, here is the link to the issue I posted:

Could you please guide me in resolving this issue and in writing a proper Makefile for my application?