[CMake] library

Harsha alive5uk at yahoo.co.uk
Wed Feb 27 07:14:15 EST 2008


In VS you can

ignore a specific library:
Project -> Properties -> Linker -> Input -> Ignore Specific Libraries

for a lib target add your own dependencies with directory:
Project -> Properties -> Librarian -> Additional Dependencies
Project -> Properties -> Librarian -> Additional Library Directories

Is there a way to do these in cmake ?  For the second thing I tried:

find_library(jpg NAMES "jpeg-v6" PATHS "${MYPATH}/lib" NO_DEFAULT_PATH)
target_link_libraries(rtf ${jpg})

I can't seem to find anything on the first problem.

> A.M.




      __________________________________________________________
Sent from Yahoo! Mail.
A Smarter Inbox. http://uk.docs.yahoo.com/nowyoucan.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20080227/da7b8338/attachment.html


More information about the CMake mailing list