<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [PATCH] Libs.private in pkgconfig files"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=77947#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [PATCH] Libs.private in pkgconfig files"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=77947">bug 77947</a>
              from <span class="vcard"><a class="email" href="mailto:manisandro@gmail.com" title="Sandro Mani <manisandro@gmail.com>"> <span class="fn">Sandro Mani</span></a>
</span></b>
        <pre>Hmm, seems the only way to do it with cmake is to hard code the -l<lib> in the
pc file... I.e.

Libs.private: @GLIB2_LIBRARIES@ @CAIRO_LIBRARIES@ @FREETYPE_LIBRARIES@

results in

Libs.private: gio-2.0;gobject-2.0;glib-2.0 /usr/lib64/libcairo.so
/usr/lib64/libfreetype.so

which is obviously not what we want.

Do you perhaps know some cmake black magic to get only the actual -l<lib>
instead of the output above?</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>