[CMake] [cmake-developers] CFLAGS merged during CMake process
Rolf Eike Beer
eike at sf-mail.de
Sat Jan 31 06:22:44 EST 2015
Sriram Rajan wrote:
> I observed that Cflags were corrupted during the cmake
> I am working on a simple libxml example code from
> http://www.xmlsoft.org/examples/xpath2.c
> (http://www.xmlsoft.org/examples/xpath2.c). For some reason, my current
> working directory is prepended without a space ' '.
> CMakeFiles/nmapWrapper.dir/flags.make:C_FLAGS =
> -I/Users/sriram/xmlparse/-I/Appl... Removing this from the flags results in
> a successfull compilation: $ cc
> -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Deve
> loper/SDKs/MacOSX10.10.sdk/usr/include/libxml2 `xml2-config --libs` xpath2.c
> -o xpath2 Thanks,
Try removing the quotes in include_directories().
Also, this has nothing to do with CMake development, so I'll redirect this to
the users list.
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/20150131/9b3452a2/attachment.sig>
More information about the CMake
mailing list