Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-24356

yaml-cpp error with CMake 3.10

    XMLWordPrintable

    Details

    • Platform/s:
      All
    • Commits:
      a065175d58c04f3919886e1e7e3d1103dac59eb1 (qt-creator/qt-creator/4.13)

      Description

      qt-creator suffers from this issue[1] fixed in CMake 3.11

      Building qtc with yaml-cpp installed and CMake 3.10 results in:

      [ 82s] CMake Error at cmake/Findyaml-cpp.cmake:18 (target_include_directories):
      [ 82s] Cannot specify include directories for imported target "yaml-cpp".

       

      [1] https://gitlab.kitware.com/cmake/cmake/-/issues/15689

      The attached patch addresses this issue.

       

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            con Eike Ziller
            Reporter:
            cgiboudeaux Christophe Giboudeaux
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes