grantlee5: Fix debug build
This commit is contained in:
parent
7132cbd598
commit
0cc2171910
|
@ -21,8 +21,12 @@ mkDerivation rec {
|
||||||
postFixup =
|
postFixup =
|
||||||
# Disabuse CMake of the notion that libraries are in $dev
|
# Disabuse CMake of the notion that libraries are in $dev
|
||||||
''
|
''
|
||||||
sed -i $dev/lib/cmake/Grantlee5/GrantleeTargets-release.cmake \
|
for way in release debug; do
|
||||||
-e "s|\''${_IMPORT_PREFIX}|$out|"
|
cmake="$dev/lib/cmake/Grantlee5/GrantleeTargets-$way.cmake"
|
||||||
|
if [ -f "$cmake" ]; then
|
||||||
|
sed -i "$cmake" -e "s|\''${_IMPORT_PREFIX}|$out|"
|
||||||
|
fi
|
||||||
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
setupHook = ./setup-hook.sh;
|
setupHook = ./setup-hook.sh;
|
||||||
|
|
Loading…
Reference in New Issue