forked from mirrors/nixpkgs
grantlee5: patch CMake module correctly in release or debug build
This commit is contained in:
parent
96e2a3bd85
commit
d143269ea8
|
@ -21,9 +21,8 @@ mkDerivation rec {
|
|||
postFixup =
|
||||
# Disabuse CMake of the notion that libraries are in $dev
|
||||
''
|
||||
for mod in $dev/lib/cmake/Grantlee5/GrantleeTargets-*.cmake; do
|
||||
sed -i $mod -e "s|\''${_IMPORT_PREFIX}|$out|"
|
||||
done
|
||||
sed -i $dev/lib/cmake/Grantlee5/GrantleeTargets-release.cmake \
|
||||
-e "s|\''${_IMPORT_PREFIX}|$out|"
|
||||
'';
|
||||
|
||||
setupHook = ./setup-hook.sh;
|
||||
|
|
Loading…
Reference in a new issue