summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-03-24 12:49:38 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-03-24 12:49:38 (GMT)
commit59f53f7422818f3ccad8518ab0863de6bb7fd293 (patch)
treefcbbe126e4659e1be87c00a76bd2870dac637d72 /Modules
parent3252e6e0755c04b062d18c574470db72f00ba372 (diff)
parent4527b9c41680aab191de7f37eca3fa47f1b07478 (diff)
downloadCMake-59f53f7422818f3ccad8518ab0863de6bb7fd293.zip
CMake-59f53f7422818f3ccad8518ab0863de6bb7fd293.tar.gz
CMake-59f53f7422818f3ccad8518ab0863de6bb7fd293.tar.bz2
Merge topic 'FindBoost-xl-compiler'
4527b9c4 FindBoost: Add support for IBM XL compiler
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindBoost.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/FindBoost.cmake b/Modules/FindBoost.cmake
index 728dcdf..9e6083db 100644
--- a/Modules/FindBoost.cmake
+++ b/Modules/FindBoost.cmake
@@ -464,6 +464,8 @@ function(_Boost_GUESS_COMPILER_PREFIX _ret)
set(_boost_COMPILER "-bcb")
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "SunPro")
set(_boost_COMPILER "-sw")
+ elseif(CMAKE_CXX_COMPILER_ID STREQUAL "XL")
+ set(_boost_COMPILER "-xlc")
elseif (MINGW)
if(${Boost_MAJOR_VERSION}.${Boost_MINOR_VERSION} VERSION_LESS 1.34)
set(_boost_COMPILER "-mgw") # no GCC version encoding prior to 1.34