jecxz at telus.net 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