[cmake-commits] alex committed CMakeDetermineCCompiler.cmake 1.39.2.2 1.39.2.3

cmake-commits at cmake.org cmake-commits at cmake.org
Wed May 2 14:14:00 EDT 2007


Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv1133

Modified Files:
      Tag: CMake-CrossCompileBasic
	CMakeDetermineCCompiler.cmake 
Log Message:

BUG: fix typo, use TOOLCHAIN_PREFIX as prefix instead of location

Alex


Index: CMakeDetermineCCompiler.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/CMakeDetermineCCompiler.cmake,v
retrieving revision 1.39.2.2
retrieving revision 1.39.2.3
diff -u -d -r1.39.2.2 -r1.39.2.3
--- CMakeDetermineCCompiler.cmake	2 May 2007 15:56:44 -0000	1.39.2.2
+++ CMakeDetermineCCompiler.cmake	2 May 2007 18:13:58 -0000	1.39.2.3
@@ -77,7 +77,7 @@
 ENDIF (NOT CMAKE_TOOLCHAIN_PREFIX)
 
 FIND_PROGRAM(CMAKE_AR NAMES ${CMAKE_TOOLCHAIN_PREFIX}ar PATHS ${CMAKE_TOOLCHAIN_LOCATION} NO_DEFAULT_PATH)
-FIND_PROGRAM(CMAKE_AR NAMES ${CMAKE_TOOLCHAIN_LOCATION}ar)
+FIND_PROGRAM(CMAKE_AR NAMES ${CMAKE_TOOLCHAIN_PREFIX}ar)
 MARK_AS_ADVANCED(CMAKE_AR)
 
 FIND_PROGRAM(CMAKE_RANLIB NAMES ${CMAKE_TOOLCHAIN_PREFIX}ranlib ${CMAKE_TOOLCHAIN_LOCATION} NO_DEFAULT_PATH)



More information about the Cmake-commits mailing list