It seems the issue is that "/bin" is before in my PATH than "/usr/bin". Once the order swapper, it works fine.<br><br>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.<br>
<br>Perhaps, the issue is coming from here? get_filename_component(_AUTOMOC4_CURRENT_DIR  "${CMAKE_CURRENT_LIST_FILE}" PATH)<br><br>Laszlo<br>