Skip to content

FindSWIG: Search now all artifacts per directory

Also enhance lookup capabilities using VALIDATOR argument. Currently, swig executable naming strategy is a bit odd: For example swig4.0 executable can have version 4.2.0!i. Moreover, not all platforms provide a versioned executable.

So, to pick-up the right executable when multiple versions are available, use find_program(... VALIDATOR ...).

Fixes: #25566 (closed)

Edited by Brad King

Merge request reports