Oh the other problem is that pkg-config only gives you the cflags, I would have to split and extract the include paths so that CMake can use them. I'm not sure which is better, but since the current implementation is in use already I would lean towards it.