[EMAIL PROTECTED] wrote:
> FIND_LIBRARY( MY_LIB NAMES my MY PATHS c:\\pkg\\c\\cmake\\my\\o
> c:/pkg/c/cmake/my/o )

You don't need the backslash version.  CMake always uses forward slashes
in its own scripts.

> #link in the support libray
> TARGET_LINK_LIBRARIES( which my )

You have to use the result of the FIND_LIBRARY:

TARGET_LINK_LIBRARIES( which ${MY_LIB} )

-Brad
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to