Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-2977

ABI Tag should handle generator expressions in MSVC_RUNTIME_LIBRARY

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 3.11.0, 3.10.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • C Drivers

      Although the MSVC_RUNTIME_LIBRARY target property only has four allowed values (or empty), those values can be initialized or set to a generator expression that evalutes to one of those four allowed values via CMAKE_MSVC_RUNTIME_LIBRARY or directly setting the property. This violates the assumptions of the current vs suffix handler used to embed the runtime library property within the ABI tag, leading to a trailing "-" in library and pkgconfig filenames. The vs suffix handler should account for the value of MSVC_RUNTIME_LIBRARY being a generator expression.

            Assignee:
            ezra.chung@mongodb.com Ezra Chung
            Reporter:
            ezra.chung@mongodb.com Ezra Chung
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: