[CMake] [cmake-developers] CFLAGS merged during CMake process
Rolf Eike Beer
eike at sf-mail.de
Sun Feb 1 04:21:23 EST 2015
sriram.r at vit.in wrote:
> Thanks Elke.
> Find_package works perfectly. I also used find_library successfully on
> my linux at work.
> However, find_library fails for OS X
>
> -- Found LibXml2: /usr/lib/libxml2.dylib (found version "2.9.0")
> -- Found include: /usr/include/libxml2
Look, find_package() already found your library. No need to use find_library()
for Xml2 again.
cmake --help-module FindLibXml2
will tel you which variables to use.
Eike
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150201/f717d924/attachment.sig>
More information about the CMake
mailing list