> Von: Jorgen Bodde <[EMAIL PROTECTED]>
> 
> Hi all,
> 
> Is there any feature in CMake (Linux / Suse 10) that replaces e.g.
> 
>     /home/jorg/src/scintilla/lib/libscintilla.a
> 
> in TARGET_LINK_LIBRARIES with
> 
> -L/home/jorg/src/scintilla/lib/ and -lscintilla ?

Yes.
 
> If so how can I disable this? The reason is that if the latter notation
> is used, and a scrintilla.so is found before a libscintilla.a it takes
> the wrong one. I would like it to have the first notation towards GCC.
> This has given me headaches as it also took the wrong version of
> wxWidgets all the time instead of the .a files I pointed out.

Please have a look at the list archive, this has been asked several times. IIRC 
this is not really possible in a portable way. But I may be wrong.

Alex

-- 


"Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to