[CMake] how to link to the libsvm in cmake?

Esben Mose Hansen kde at mosehansen.dk
Sat Oct 4 17:20:47 EDT 2008


On Saturday 04 October 2008 18:33:38 kdsfinger at gmail.com wrote:
> hi, there
> I want to use the libsvm library in c++ with cmake but it seems I did
> not set it correct in the CMakeLists.txt.

You want something like FindSvn.cmake, a cmake module. See

http://www.cmake.org/Wiki/CMake_HowToFindInstalledSoftware

for more detailed information. For your convenience, I have attached a 
findsvn.cmake, borrowed from the KDE project. It might not be the best or 
newest version, though,

If you need more help, just write again.

-- 
kind regards, Esben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CMake_HowToFindInstalledSoftware.zip
Type: application/x-zip
Size: 6148 bytes
Desc: not available
URL: <http://www.cmake.org/pipermail/cmake/attachments/20081004/ee54d53e/attachment.bin>


More information about the CMake mailing list