FindBoost: Add Windows ABI tag for Clang debug

Thanks to Walter Pearce for this suggestion.

Fixes: #17505
This commit is contained in:
Roger Leigh
2017-11-27 15:52:45 +00:00
committed by Brad King
parent 00e39a4afc
commit 458c589fe3

View File

@@ -1393,6 +1393,7 @@ endif()
# support libraries
if(WIN32 AND Boost_USE_DEBUG_RUNTIME)
if("x${CMAKE_CXX_COMPILER_ID}" STREQUAL "xMSVC"
OR "x${CMAKE_CXX_COMPILER_ID}" STREQUAL "xClang"
OR "x${CMAKE_CXX_COMPILER_ID}" STREQUAL "xIntel")
string(APPEND _boost_DEBUG_ABI_TAG "g")
endif()