libyaml icon indicating copy to clipboard operation
libyaml copied to clipboard

CMakeLists.txt: configure and install the .pc file

Open scpeters opened this issue 7 years ago • 2 comments
trafficstars

The .pc file should be configured and installed from the CMakeLists.txt; currently only autotools is configuring it.

scpeters avatar Jan 17 '18 20:01 scpeters

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__

concatime avatar Mar 31 '18 18:03 concatime

Ah, I can handle this in my cmake overhaul pr. I'm sure I saw this problem, unsure why I didn't handle it.

hanetzer avatar Jun 29 '18 03:06 hanetzer