recastnavigation: fix paths in pkg-config file

This commit is contained in:
Alexander Shpilkin
2022-09-07 21:49:33 +03:00
committed by Artturin
parent 00b52816d8
commit 73f88f1ddd
@@ -15,6 +15,11 @@ stdenv.mkDerivation rec {
postPatch = ''
cp ${catch}/include/catch/catch.hpp Tests/catch.hpp
# https://github.com/recastnavigation/recastnavigation/issues/524
substituteInPlace CMakeLists.txt \
--replace '\$'{exec_prefix}/'$'{CMAKE_INSTALL_LIBDIR} '$'{CMAKE_INSTALL_FULL_LIBDIR} \
--replace '\$'{prefix}/'$'{CMAKE_INSTALL_INCLUDEDIR} '$'{CMAKE_INSTALL_FULL_INCLUDEDIR}
'';
doCheck = true;