[Cmake] Target-specific Link Flag
William A. Hoffman
bill.hoffman at kitware.com
Fri Oct 11 17:42:51 EDT 2002
I think you could use that to add flags as well.
TARGET_LINK_LIBRARIES(target -special-flags )
I think cmake may just copy things that are not libraries.
However, it might add a -l, I am not sure.
I assume there is something with OSX that needs a special flag?
-Bill
At 05:22 PM 10/11/2002 -0400, Andy Cedilnik wrote:
>Hi Yves,
>
>Try TARGET_LINK_LIBRARIES(target library)...
>
> Andy
>
>
>On Fri, 2002-10-11 at 16:51, Yves Starreveld wrote:
> > Can anyone point out how I can pass a link flag to one target only?
> >
> > Kind of like SET_SOURCE_FILES_PROPERTIES (.... COMPILE_FLAGS ...) but
> > LINK_FLAGS instead.
>
>
>_______________________________________________
>Cmake mailing list
>Cmake at public.kitware.com
>http://public.kitware.com/mailman/listinfo/cmake
More information about the CMake
mailing list