Browse Source

FindBoost: Add Windows ABI tag for Clang debug

Thanks to Walter Pearce for this suggestion.

Fixes: #17505
Roger Leigh 8 years ago
parent
commit
458c589fe3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Modules/FindBoost.cmake

+ 1 - 0
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()