[CMake] How to extract the directory path from find_library ?
Witold E Wolski
wewolski at gmail.com
Fri Dec 14 08:00:22 EST 2012
Hi,
I am using
FIND_LIBRARY(CPPUNIT_LIBRARY NAMES cppunit HINTS
${CPPUNIT_INCLUDE_DIR}/../lib)
to find library locations. But what I am needing is the directory
containing the lib and not the full path.
How do I get it?
cheers
--
Witold Eryk Wolski
Triemlistrasse 155
8047 Zuerich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20121214/78c620d7/attachment.htm>
More information about the CMake
mailing list