diff options
author | Matt McCormick <matt.mccormick@kitware.com> | 2015-03-28 18:18:38 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-04-08 13:06:22 (GMT) |
commit | e942526b3d9e886da4ce832d9d3adb99cc5ede2f (patch) | |
tree | 92eb25f78e80acf587c3066750f3eafce13202a9 /Tests/RunCMake/CrosscompilingEmulator/RunCMakeTest.cmake | |
parent | 579c4bec6e2352448f78d9333f7382ff34a08e5a (diff) | |
download | CMake-e942526b3d9e886da4ce832d9d3adb99cc5ede2f.zip CMake-e942526b3d9e886da4ce832d9d3adb99cc5ede2f.tar.gz CMake-e942526b3d9e886da4ce832d9d3adb99cc5ede2f.tar.bz2 |
try_run: Use CMAKE_CROSSCOMPILING_EMULATOR.
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.
Diffstat (limited to 'Tests/RunCMake/CrosscompilingEmulator/RunCMakeTest.cmake')
-rw-r--r-- | Tests/RunCMake/CrosscompilingEmulator/RunCMakeTest.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/CrosscompilingEmulator/RunCMakeTest.cmake b/Tests/RunCMake/CrosscompilingEmulator/RunCMakeTest.cmake index cecc57f..04fb7db 100644 --- a/Tests/RunCMake/CrosscompilingEmulator/RunCMakeTest.cmake +++ b/Tests/RunCMake/CrosscompilingEmulator/RunCMakeTest.cmake @@ -4,3 +4,4 @@ set(RunCMake_TEST_OPTIONS "-DCMAKE_CROSSCOMPILING_EMULATOR=${PSEUDO_EMULATOR}") run_cmake(CrosscompilingEmulatorProperty) +run_cmake(TryRun) |