-
Reiner Hauser authored
The interpreter is only needed for the Python_EXECUTABLE variable to specify it in the tests. However, the find_package() fails during cross-compilation as cmake tries to execute the interpreter for its version number. This variant should work in native builds and silently ignore the non-found interpreter in cross-compilation builds where the tests can't be run anyway.
Reiner Hauser authoredThe interpreter is only needed for the Python_EXECUTABLE variable to specify it in the tests. However, the find_package() fails during cross-compilation as cmake tries to execute the interpreter for its version number. This variant should work in native builds and silently ignore the non-found interpreter in cross-compilation builds where the tests can't be run anyway.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.