[CMake] specifying "Additional Library Directories"

Phil Pellouchoud Phil at slacker.com
Thu May 15 13:11:04 EDT 2008


So I seem to have gotten it to work by doing this:

SET_TARGET_PROPERTIES( target PROPERTIES LINK_FLAGS
"/LIBPATH:path_to_libraries" )

 

Which seems kinda gross to me...

 

-phil

 

From: cmake-bounces at cmake.org [mailto:cmake-bounces at cmake.org] On Behalf
Of Phil Pellouchoud
Sent: Thursday, May 15, 2008 10:03 AM
To: cmake at cmake.org
Subject: [CMake] specifying "Additional Library Directories"

 

cmake2.4

windows xp.

msvc8.

 

 

I cannot seem to get cmake to put in additional library directories.

 

I have tried using SET(CMAKE_LIBRARY_PATH "path_to_libraries") and
LINK_DIRECTORIES("path_to_libraries") and neither seem to fill in that
entry in the link tab.

 

-phil

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080515/5d41a39e/attachment.htm>


More information about the CMake mailing list