diff options
author | Brad King <brad.king@kitware.com> | 2016-03-24 12:49:38 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-03-24 12:49:38 (GMT) |
commit | 59f53f7422818f3ccad8518ab0863de6bb7fd293 (patch) | |
tree | fcbbe126e4659e1be87c00a76bd2870dac637d72 /Modules | |
parent | 3252e6e0755c04b062d18c574470db72f00ba372 (diff) | |
parent | 4527b9c41680aab191de7f37eca3fa47f1b07478 (diff) | |
download | CMake-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.cmake | 2 |
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 |