From 1de21e9fe87fd2d51d849a61fb4eb0b4942fd368 Mon Sep 17 00:00:00 2001 From: Chris Ward Date: Wed, 23 Oct 2024 12:49:27 +0100 Subject: [PATCH] patch for AIX --- BoostDetectToolset.cmake | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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")