Review Request 112448: FindSamba add PkgConfig fallback

Commit Hook null at kde.org
Mon Sep 9 19:35:20 UTC 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/112448/
-----------------------------------------------------------

(Updated Sept. 9, 2013, 7:35 p.m.)


Status
------

This change has been marked as submitted.


Review request for Build System.


Description
-------

FindSamba couldn't find samba on my machine. Perhaps because it's Samba 4 and it's include folder is /usr/include/samba-4.0/. However, "pkg-config --cflags-only-I smbclient" worked just fine and returned the correct include path. This patch falls back to pkg-config if it couldn't find samba.


Diffs
-----

  cmake/modules/FindSamba.cmake c4df80f 

Diff: http://git.reviewboard.kde.org/r/112448/diff/


Testing
-------

Works, finds samba without issues.


Thanks,

Mark Gaiser

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20130909/8c02caa3/attachment.html>


More information about the Kde-buildsystem mailing list