diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2003-01-06 14:04:18 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2003-01-06 14:04:18 (GMT) |
commit | 3da465e24fdf39e865e9f43921ea7e89b59cbffe (patch) | |
tree | 357a5c5b26d28dbf786c564a9c4b9e79ad15f9c3 /Modules/CMakeDetermineCXXCompiler.cmake | |
parent | 578883ce6499f3873a8991ecc4ac68c81a7afbe4 (diff) | |
download | CMake-3da465e24fdf39e865e9f43921ea7e89b59cbffe.zip CMake-3da465e24fdf39e865e9f43921ea7e89b59cbffe.tar.gz CMake-3da465e24fdf39e865e9f43921ea7e89b59cbffe.tar.bz2 |
ENH: look for AIX compiler as well
Diffstat (limited to 'Modules/CMakeDetermineCXXCompiler.cmake')
-rw-r--r-- | Modules/CMakeDetermineCXXCompiler.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeDetermineCXXCompiler.cmake b/Modules/CMakeDetermineCXXCompiler.cmake index d4ddae4..e7dcf87 100644 --- a/Modules/CMakeDetermineCXXCompiler.cmake +++ b/Modules/CMakeDetermineCXXCompiler.cmake @@ -27,7 +27,7 @@ IF(NOT CMAKE_CXX_COMPILER) # if no compiler has been found yet, then try to find one IF(NOT CMAKE_CXX_COMPILER_INIT) # if not in the envionment then search for the compiler in the path - SET(CMAKE_CXX_COMPILER_LIST c++ g++ CC aCC cl bcc ) + SET(CMAKE_CXX_COMPILER_LIST c++ g++ CC aCC cl bcc xlC) FIND_PROGRAM(CMAKE_CXX_COMPILER_FULLPATH NAMES ${CMAKE_CXX_COMPILER_LIST}) GET_FILENAME_COMPONENT(CMAKE_CXX_COMPILER_INIT ${CMAKE_CXX_COMPILER_FULLPATH} NAME) |