mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-04 04:03:22 +03:00
FindBoost: Add support for IBM XL compiler
This commit is contained in:
1 parent
38caf1bb74
commit
4527b9c416
1 file changed
+2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user