As per title: CMakeLists.txt has
set ( prefix "${CMAKE_INSTALL_PREFIX}" )
set ( exec_prefix "\${prefix}" )
set ( libdir "\${prefix}/${CMAKE_INSTALL_LIBDIR}" )
set ( includedir "\${prefix}/${CMAKE_INSTALL_INCLUDEDIR}" )
and so can’t handle absolute paths in CMAKE_INSTALL_{INCLUDE,LIB}DIR. This leads to a broken .pc file on NixOS in particular.
Similar to https://github.com/open-source-parsers/jsoncpp/pull/1199. See “Concatenating paths when building pkg-config files” for a discussion of the problem and a suggested fix in a somewhat different context (I don’t know CMake myself, sorry).
Thanks. I'm not aware of anyone actively maintaining OpenOBEX currently.
I see, thanks. Not much I can do about that, unfortunately.
(FWIW, all of this applies to ObexFTP as well.)