[Cmake-commits] [cmake-commits] hoffman committed ToolchainTest.cmake.in 1.6 1.6.2.1

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Sep 12 13:29:25 EDT 2008


Update of /cvsroot/CMake/CMake/Tests/CMakeTests
In directory public:/mounts/ram/cvs-serv2364

Modified Files:
      Tag: CMake-2-6
	ToolchainTest.cmake.in 
Log Message:
ENH: merge in from main tree


Index: ToolchainTest.cmake.in
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/CMakeTests/ToolchainTest.cmake.in,v
retrieving revision 1.6
retrieving revision 1.6.2.1
diff -C 2 -d -r1.6 -r1.6.2.1
*** ToolchainTest.cmake.in	2 Jul 2007 17:29:36 -0000	1.6
--- ToolchainTest.cmake.in	12 Sep 2008 17:29:23 -0000	1.6.2.1
***************
*** 6,10 ****
  macro(MARK_AS_ADVANCED)
  endmacro(MARK_AS_ADVANCED)
- 
  # set this to a place where we are allowed to write
  set(CMAKE_PLATFORM_ROOT_BIN "${CMAKE_CURRENT_BINARY_DIR}")
--- 6,9 ----
***************
*** 63,66 ****
--- 62,68 ----
  
  include(CMakeDetermineSystem)
+ # make cmake think we are cross compiling for test to work
+ set(CMAKE_CROSSCOMPILING TRUE)
+ set(CMAKE_C_COMPILER_ID "GNU")
  include(CMakeDetermineCCompiler)
  include(CMakeDetermineCXXCompiler)



More information about the Cmake-commits mailing list