[CMake] Add libraries to end of compilation line ...

Hendrik Sattler post at hendrik-sattler.de
Fri Jun 27 07:33:39 EDT 2014


Hi,

IIRC the old function is preserved as the same name with an underscore as prefix...

Regards,

HS

On 27. Juni 2014 10:23:07 MESZ, Kornel Benko <kornel at lyx.org> wrote:
>Am Donnerstag, 26. Juni 2014 um 20:12:12, schrieb Hendrik Sattler
><post at hendrik-sattler.de>
>> Hi,
>> 
>> you can also override the target_link_libraries function with your
>own in the top-level lists file and call the original one from within
>that function. This way you only have to edit one file.
>
>
>Nice idea, but how to call the original function from within? If I do
>that, I get a recursion
>into the overriding function.
>
>	Kornel
>
>------------------------------------------------------------------------
>
>-- 
>
>Powered by www.kitware.com
>
>Please keep messages on-topic and check the CMake FAQ at:
>http://www.cmake.org/Wiki/CMake_FAQ
>
>Kitware offers various services to support the CMake community. For
>more information on each offering, please visit:
>
>CMake Support: http://cmake.org/cmake/help/support.html
>CMake Consulting: http://cmake.org/cmake/help/consulting.html
>CMake Training Courses: http://cmake.org/cmake/help/training.html
>
>Visit other Kitware open-source projects at
>http://www.kitware.com/opensource/opensource.html
>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/cmake

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20140627/760edbc6/attachment.html>


More information about the CMake mailing list