"Bill Hoffman" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
Fernando Cacciola wrote:

*you* as in *me* in any *new* script?

Sure I can, but I found this problem in FindQt4, a standard cmake module.


The -NOTFOUND value can never end up in that variable with the current FindQt4.cmake.

Or if I don't had QT4 installed when I run cmake.

Here is quite possible scenario:

User downloads my library and starts configuring it (runs cmake).
He then realises that it needs Qt4 becasue of the "Qt4 not found" message, so he goes on to install it.
Then he runs cmake again on my library.

But what happens is that "Qt4 not found" keeps appearing, so he spend half the rest of his life figuring out why, as it is installed and correctly and all.

Eventually he reads the part of my library's INSTALL that says that he should delete CMakeCache.txt if installed libraries are not found when they should.

Best

Fernando

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to