[Webkit-unassigned] [Bug 162609] New: [cmake] Simplify Clang checks and prepare for compiler ID split

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 27 06:42:13 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=162609

            Bug ID: 162609
           Summary: [cmake] Simplify Clang checks and prepare for compiler
                    ID split
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: annulen at yandex.ru
                CC: lforschler at apple.com

CMake 3.x introduces separate compiler id for AppleClang, making condition if (${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang") inappropriate as a test for any clang version. Introduce COMPILER_IS_CLANG instead, which is also shorter that CMAKE_CXX_COMPILER_ID comparison.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160927/fc80e12f/attachment.html>


More information about the webkit-unassigned mailing list