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:
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;
|
||||
|
Loading…
Reference in New Issue
Block a user