Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-8691

Forward CXX_FLAGS to C++ projects and C_FLAGS to C projects in CMake

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.6.0
    • None
    • None

    Description

      Right now we forward CXX and C flags together to all 3rdparty depedencies. This results in warnings from CMake for the projects that don't use these flags. Specifically, dependencies like libevent which are C libraries ignore the CXX flags.

      We should instead pass the C flags only (and generic CMake flags) to these dependencies so they don't complain.

      Attachments

        Activity

          People

            andschwa Andrew Schwartzmeyer
            andschwa Andrew Schwartzmeyer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: