VTK_USE_FILE

Thanks, solved it! I also had to put it after linked_targets call in cmake :confused: that solved it for me!