libyaml
libyaml copied to clipboard
CMakeLists.txt: configure and install the .pc file
trafficstars
The .pc file should be configured and installed from the CMakeLists.txt; currently only autotools is configuring it.
Nasty hack until fixed:
cat > /usr/local/lib/pkgconfig/yaml-0.1.pc <<-__EOF__
prefix=/usr/local
exec_prefix=${prefix}
includedir=${prefix}/include
libdir=${exec_prefix}/lib
Name: LibYAML
Description: Library to parse and emit YAML
Version: 0.1.7
Cflags: -I${includedir}
Libs: -L${libdir} -lyaml
__EOF__
Ah, I can handle this in my cmake overhaul pr. I'm sure I saw this problem, unsure why I didn't handle it.