According to existent version of yaml-cpp.pc.cmake we are getting this rows
in yaml-cpp.pc:
prefix=/usr/local
exec_prefix=/usr/local
libdir=lib
includedir=include/yaml-cpp
And this is wrong, because `pkg-config yaml-cpp --cflags` will return
"-Iinclude/yaml-cpp"... it's not what expected to be.
By adding prefix variable you can solve this issue.
yaml-cpp.pc.cmake:
libdir=${prefix}/@LIB_INSTALL_DIR@
includedir=${prefix}/@INCLUDE_INSTALL_DIR@
Now `pkg-config yaml-cpp --cflags` will work as expected, returning
"-I/usr/local/include/yaml-cpp".
/Vasily
Original issue reported on code.google.com by Vasily.S...@gmail.com on 25 Jul 2009 at 3:05
Original issue reported on code.google.com by
Vasily.S...@gmail.com
on 25 Jul 2009 at 3:05