Philip Lowman <mailto:[EMAIL PROTECTED]> wrote:
> So you can't do something like this?
>
> FIND_LIBRARY(qtmain_release qtmain
> PATHS "C:/lang/qt/3.3.4r/lib" NO_DEFAULT_PATH)
> FIND_LIBRARY(qtmain_debug qtmain
> PATHS "C:/lang/qt/3.3.4/lib" NO_DEFAULT_PATH)
>
> # declare your targets.....
>
> TARGET_LINK_LIBRARIES(foo release ${qtmain_release})
> TARGET_LINK_LIBRARIES(food debug ${qtmain_debug})
>
> If something like that doesn't work I would file a bug for sure.
No, I cannot, because CMake still tells me
It is impossible to order the linker search path in such a way that
libraries specified as full paths will be picked by the linker.
Directories and libraries involved are:
Directory: c:/lang/Qt/3.3.4/lib contains:
Library: C:/lang/qt/3.3.4r/lib/qtmain.lib
Directory: c:/lang/qt/3.3.4/lib contains:
Library: C:/lang/qt/3.3.4r/lib/qtmain.lib
Directory: c:/lang/qt/3.3.4r/lib contains:
Library: C:/lang/qt/3.3.4/lib/qtmain.lib
-Torsten
This e-mail and any files sent with it contain information that may be
privileged or confidential and is the property of the GateHouse Group. This
information is intended solely for the person to whom it is addressed. If you
are not the intended recipient, you are not authorized to read, print, retain,
copy, disseminate, distribute, or use the message or any part thereof. If you
have received this e-mail in error, please notify the sender immediately, and
delete all copies of this message. In accordance with GateHouse Security
Policy, e-mails sent or received may be monitored.
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake