AW: [CMake] AW: Wrong interpretation of "optimized" and "debug" Qt-libs in TARGET_LINK_LIBRARIES

wedekind wedekind at caesar.de
Fri Nov 24 10:07:33 EST 2006


Hello Bill,

>OK, good find. It looks like both the debug and optimized libs are
>being used in the depend.

:)

>They are not being used on the link line which is good...    Just
>curious, it should not have been
>able to find a library that does not exist on your machine, so you must
>have set the path to the missing
>qt lib by hand.

That's correct. I'm setting the missing qt-lib by hand.

> So, on the bright side, if you just leave that out,
>your problem should be fixed.

I've been glad to see that the libs only get added to the depends-list and
are not linked to my target. So installing the missing lib is another
"solution".

So fortunately it does not really hurt but it would be nice to have this
confusing depends entry removed (or corrected?).

Cheers

Marco




More information about the CMake mailing list