[CMake] Suggesting to FindQT4.cmake where to find QT4
Jed Brown
jed at 59A2.org
Mon May 25 16:58:26 EDT 2009
Jed Brown wrote:
> Andreas Pakulat wrote:
>
>> Can you please elaborate, I have no idea what a/b or foo/bar refer to in
>> this example. However qmake knows exactly where the headers and libs
>> (and data) for the Qt its supposed to be used with are. So having the
>> right qmake first in your PATH is the right thing to setup. Either that
>> or look into the docs for FindQt4.cmake to find out the name for the
>> CMake variable that the module accepts for pointing to the right qmake
>> binary.
>
> Suppose that package "foo" and "bar" both use the system that Qt uses. Then
> I can set
>
> PATH=/path/a:/path/b
>
> and I will get /path/a/foo and /path/a/bar. That's not what I wanted. Of course setting
>
> PATH=/path/b:/path/b
^^^^^^^^^
Of course that should be
PATH=/path/b:/path/a
>
> gives me /path/b/foo and /path/b/bar. That's not what I wanted either. How would I get
> /path/a/foo and /path/b/bar? This should not be difficult.
>
>
> Jed
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090525/6473b342/attachment.pgp>
More information about the CMake
mailing list