https://llvm.org/bugs/show_bug.cgi?id=23967

            Bug ID: 23967
           Summary: llvm_map_components_to_libnames(XXX all) includes
                    gtest and gtest_main
           Product: Build scripts
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: cmake
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

I have noticed that when using ``llvm_map_components_to_libnames(...)`` that
when the component is specified as ``all`` the ``gtest`` and ``gtest_main``
targets are includes which is wrong. These are not LLVM libraries and worse
when we actually install LLVM somewhere these libraries are not shipped which
can cause link failures in a project that consumes the exported LLVM targets if
they don't have gtest on their system.

I'm working on a fix now.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to