Automoc issue with cmake

Laszlo Papp lpapp at kde.org
Sat Nov 17 19:27:53 UTC 2012


It seems the issue is that "/bin" is before in my PATH than "/usr/bin".
Once the order swapper, it works fine.

I believe, cmake should be smarter without depending on path order. If
cmake does not find anything in /bin, it should look for the next entry in
the PATH environment variable. Currently, this is not happening for unknown
reason for me. Hard coding "/usr/bin" before "/bin" may cause failure for
other projects.

Perhaps, the issue is coming from here?
get_filename_component(_AUTOMOC4_CURRENT_DIR  "${CMAKE_CURRENT_LIST_FILE}"
PATH)

Laszlo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20121117/e5788257/attachment.html>


More information about the Kde-buildsystem mailing list