vtkModule: skip calling `target_` without arguments
These functions do not accept empty argument lists (except
target_link_libraries
, likely due to its age). Guard against calling
them without arguments by bailing early.
Fixes: #18512 (closed)
These functions do not accept empty argument lists (except
target_link_libraries
, likely due to its age). Guard against calling
them without arguments by bailing early.
Fixes: #18512 (closed)