Skip to content
Snippets Groups Projects
  • Reiner Hauser's avatar
    2a004eff
    Make finding the Python interpreter optional. · 2a004eff
    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.
    2a004eff
    History
    Make finding the Python interpreter optional.
    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.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.