[CMake] Linking with -l and -L flags

William A. Hoffman billlist at nycap.rr.com
Fri Jan 13 21:06:06 EST 2006


At 09:01 PM 1/13/2006, Brad King wrote:
>I just verified this works:
> c++ junk.o -ltcl -L. -Wl,-search_paths_first
>
>In that case is there any reason not to just always pass this flag on the Mac to make it consistent with all other platforms?  How does it interact with frameworks?
>
>-Brad 
I was thinking the same thing.  It would be a good idea to add this flag automatically.

-Bill



More information about the CMake mailing list