summaryrefslogtreecommitdiffstats
path: root/Modules/FindBoost.cmake
diff options
context:
space:
mode:
authorRoger Leigh <rleigh@dundee.ac.uk>2017-11-27 15:52:45 (GMT)
committerBrad King <brad.king@kitware.com>2017-11-27 18:49:01 (GMT)
commit458c589fe33fb5e827e9dbcd7799a0cac2559dba (patch)
tree74b9991d60daf85642b8c6e1e8bac03999a68a5a /Modules/FindBoost.cmake
parent00e39a4afcb65b3c78acc81e6080c204be84f16f (diff)
downloadCMake-458c589fe33fb5e827e9dbcd7799a0cac2559dba.zip
CMake-458c589fe33fb5e827e9dbcd7799a0cac2559dba.tar.gz
CMake-458c589fe33fb5e827e9dbcd7799a0cac2559dba.tar.bz2
FindBoost: Add Windows ABI tag for Clang debug
Thanks to Walter Pearce for this suggestion. Fixes: #17505
Diffstat (limited to 'Modules/FindBoost.cmake')
-rw-r--r--Modules/FindBoost.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/FindBoost.cmake b/Modules/FindBoost.cmake
index b1805ce..0786248 100644
--- a/Modules/FindBoost.cmake
+++ b/Modules/FindBoost.cmake
@@ -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()