2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-04-16 00:17:57 +00:00

recastnavigation: fix paths in pkg-config file

This commit is contained in:
Alexander Shpilkin 2022-05-18 21:21:31 +03:00 committed by Artturin
parent 00b52816d8
commit 73f88f1ddd

View File

@ -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;