diff --git a/BoostDetectToolset.cmake b/BoostDetectToolset.cmake index 9179ce1..fa9c751 100644 --- a/BoostDetectToolset.cmake +++ b/BoostDetectToolset.cmake @@ -74,6 +74,18 @@ elseif(CMAKE_CXX_COMPILER_ID STREQUAL "IBM XL") set(BOOST_DETECTED_TOOLSET "xlc") +elseif(CMAKE_CXX_COMPILER_ID STREQUAL "XLClang") + + set(BOOST_DETECTED_TOOLSET "xlclang") + set(_BOOST_COMPILER_VERSION_MAJOR) + set(_BOOST_COMPILER_VERSION_MINOR) + +elseif(CMAKE_CXX_COMPILER_ID STREQUAL "IBMClang") + + set(BOOST_DETECTED_TOOLSET "openxl") + set(_BOOST_COMPILER_VERSION_MAJOR) + set(_BOOST_COMPILER_VERSION_MINOR) + elseif(MINGW) set(BOOST_DETECTED_TOOLSET "mgw")