<div dir="ltr">I've run into a problem after updating my cmake in using the FindQt4 module.<div><br></div><div>It used to be the case that when QT_QMAKE_EXECUTABLE was changed by the user or by a SET(... FORCE) command, all the derived cache entries would be refreshed, however this does not work anymore.</div>
<div><br></div><div>The cause seems to be git commit 21123416b4c2d49fe981279b10fbc78c8d07c491 which removes the following code:</div><div><br></div><div><div> if(QT_QMAKE_EXECUTABLE_LAST)</div><div> string(COMPARE NOTEQUAL "${QT_QMAKE_EXECUTABLE_LAST}" "${QT_QMAKE_EXECUTABLE}" QT_QMAKE_CHANGED)</div>
</div><div> endif()<br></div><div> set(QT_QMAKE_EXECUTABLE_LAST "${QT_QMAKE_EXECUTABLE}" CACHE INTERNAL "" FORCE)<br></div><div><br></div><div>I've attached a patch that restores this code so this works again, could this be included in the next cmake release?<br>
</div><div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">Best regards,</span><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">Simon</span></div></div>