• Matt McCormick's avatar
    try_run: Use CMAKE_CROSSCOMPILING_EMULATOR. · e942526b
    Matt McCormick authored
    If the CMAKE_CROSSCOMPILING_EMULATOR variable is defined, and
    CMAKE_CROSSCOMPILING is TRUE, then use CMAKE_CROSSCOMPILING_EMULATOR to run
    the try_run executables. This prevents the need to populate
    TryRunResults.cmake when cross compiling.
    e942526b
cmTryRunCommand.cxx 13.5 KB