martell / libxml2.cmake

cmake for libxml2
4 stars 7 forks source link

Missing 'config.h' #1

Open hallahan opened 8 years ago

hallahan commented 8 years ago

Hi Martell,

I'm giving your libxml2 CMake project a try, and I'm trying to include it in a larger CMake Project.

https://github.com/hallahan/tangram-es/tree/libxml2-attempt

CMake isn't giving any complaints, but when I try to finally compile and have included parser.h, I get the following problem:

/Users/njh/code/tangram-es/external/libxml2.cmake/libxml2/libxml.h:/Users/njh/code/tangram-es/external/libxml2.cmake/libxml2/libxml.h37::3710::10 : fatal error: fatal error: 'config.h' file not found
'config.h' file not found
#include "config.h"#include "config.h"
#include "config.h"
#include "config.h"    

https://github.com/hallahan/tangram-es/blob/libxml2-attempt/core/src/osm/xmlParser.h#L7

I think the regular libxml2 build generates this file for us. Did you run into this problem yourself? Do you have any suggestions?