[CMake] Change library search order

Ryan Pavlik rpavlik at iastate.edu
Mon Mar 8 19:38:48 EST 2010


You might consider looking at the "link_directories" command.

Ryan

On Mon, Mar 8, 2010 at 3:46 PM, Anatoly Shirokov <shirokov_a at mail.ru> wrote:

>  Hi Alex!
>
> I would like to link to Platform SDK libraries instead of Visual Studio
> ones. In this case there is no way to specify full path because most of
> platform SDK files are linked implicitly with the lib pragma (#pragma
> comment(lib, 'lib')). Any suggestions?
>
> BR,
> Anatoly
>
> Alexander Neundorf пишет:
>
> On Monday 08 March 2010, Anatoly Shirokov wrote:
>
>
>  Hi there!
>
> One day I wrote about this problem. I want to change a library search
> order, but the target_link_libraries command does not allow me specify
> the search order because there are no BEFORE and AFTER tags. Is there
> another way to change the search order?
>
>
>  Why do you want that ?
> If you specify the libraries to link to with their full path this shouldn't be
> necessary.
>
> Alex
>
>
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>



-- 
Ryan Pavlik
HCI Graduate Student
Virtual Reality Applications Center
Iowa State University

rpavlik at iastate.edu
http://academic.cleardefinition.com
Internal VRAC/HCI Site: http://tinyurl.com/rpavlik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100308/7532e456/attachment.htm>


More information about the CMake mailing list