Forked from
VTK / VTK
40232 commits behind the upstream repository.
Brad King
authored
Avoid using the undocumented SOURCE option to add_custom_command. Replace the ancient SOURCE == TARGET spelling with POST_BUILD. While at it, use a $<TARGET_FILE> generator expression to refer to the executable location of the vtk and pvtk targets. Change-Id: I8fcd894ede6e430dc148dced98f3b404b9ae1101