summaryrefslogtreecommitdiff
path: root/Tests/CrossCompile
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2009-11-09 12:05:49 -0500
committerZach Mullen <zach.mullen@kitware.com>2009-11-09 12:05:49 -0500
commit8658fcbe24b96aa58deb6b1c498fe8229c486707 (patch)
tree811f8132398ddba4ed526d03dd5cb48030cc660f /Tests/CrossCompile
parentef84e81011c66edfcc5223af0eff2790004d5689 (diff)
downloadcmake-8658fcbe24b96aa58deb6b1c498fe8229c486707.tar.gz
Fix TRY_RUN cross compile test to pass consistently
Diffstat (limited to 'Tests/CrossCompile')
-rw-r--r--Tests/CrossCompile/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/CrossCompile/CMakeLists.txt b/Tests/CrossCompile/CMakeLists.txt
index 9ef7a8733e..96a57a051f 100644
--- a/Tests/CrossCompile/CMakeLists.txt
+++ b/Tests/CrossCompile/CMakeLists.txt
@@ -1,8 +1,9 @@
cmake_minimum_required (VERSION 2.6)
PROJECT(CrossCompile)
+UNSET(run_result CACHE)
+
#Simulate the cross compile condition
-SET(CMAKE_SYSTEM_NAME "systemName")
SET(CMAKE_CROSSCOMPILING ON)
ADD_EXECUTABLE(CrossCompile main.c)