summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineCCompiler.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-01-06 14:04:18 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-01-06 14:04:18 (GMT)
commit3da465e24fdf39e865e9f43921ea7e89b59cbffe (patch)
tree357a5c5b26d28dbf786c564a9c4b9e79ad15f9c3 /Modules/CMakeDetermineCCompiler.cmake
parent578883ce6499f3873a8991ecc4ac68c81a7afbe4 (diff)
downloadCMake-3da465e24fdf39e865e9f43921ea7e89b59cbffe.zip
CMake-3da465e24fdf39e865e9f43921ea7e89b59cbffe.tar.gz
CMake-3da465e24fdf39e865e9f43921ea7e89b59cbffe.tar.bz2
ENH: look for AIX compiler as well
Diffstat (limited to 'Modules/CMakeDetermineCCompiler.cmake')
-rw-r--r--Modules/CMakeDetermineCCompiler.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeDetermineCCompiler.cmake b/Modules/CMakeDetermineCCompiler.cmake
index 31dd08e..7870ef3 100644
--- a/Modules/CMakeDetermineCCompiler.cmake
+++ b/Modules/CMakeDetermineCCompiler.cmake
@@ -27,7 +27,7 @@ IF(NOT CMAKE_C_COMPILER)
# if no compiler has been specified yet, then look for one
IF(NOT CMAKE_C_COMPILER_INIT)
# if not in the envionment then search for the compiler in the path
- SET(CMAKE_C_COMPILER_LIST gcc cc cl bcc )
+ SET(CMAKE_C_COMPILER_LIST gcc cc cl bcc xlc)
FIND_PROGRAM(CMAKE_C_COMPILER_FULLPATH NAMES ${CMAKE_C_COMPILER_LIST} )
GET_FILENAME_COMPONENT(CMAKE_C_COMPILER_INIT
${CMAKE_C_COMPILER_FULLPATH} NAME)