Hi Ryan!
Of cause, in my first post I meant link_directories. The
link_directories does not have BEFORE and AFTER tags, so the Visual
Studio library directory is preferred when I link to some system library
because this is always the first directory.
BR,
Anatoly Shirokov.
Ryan Pavlik пишет:
You might consider looking at the "link_directories" command.
Ryan
On Mon, Mar 8, 2010 at 3:46 PM, Anatoly Shirokov <shiroko...@mail.ru
<mailto:shiroko...@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 <http://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
rpav...@iastate.edu <mailto:rpav...@iastate.edu>
http://academic.cleardefinition.com
Internal VRAC/HCI Site: http://tinyurl.com/rpavlik
------------------------------------------------------------------------
_______________________________________________
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
_______________________________________________
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