summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CMakeDetermineCCompiler.cmake2
-rw-r--r--Modules/CMakeDetermineCXXCompiler.cmake2
2 files changed, 2 insertions, 2 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)
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)