python3Packages.pymeshlab: fix cmakeFlags

This commit is contained in:
Yueh-Shun Li 2024-08-21 22:12:26 +08:00
parent b3d96378e1
commit f4c1b6f205

View File

@ -88,12 +88,10 @@ stdenv.mkDerivation (finalAttrs: {
substituteInPlace src/meshlab/src/external/ssynth.cmake \
--replace-fail '$'{SSYNTH_LINK} ${structuresynth.src} \
--replace-warn "MD5 ''${SSYNTH_MD5}" ""
export cmakeFlags="cmakeFlags
-DCMAKE_INSTALL_PREFIX=$out/${python3Packages.python.sitePackages}/pymeshlab
"
'';
cmakeFlags = [
"-DCMAKE_INSTALL_PREFIX=${placeholder "out"}/${python3Packages.python.sitePackages}/pymeshlab"
"-DVCGDIR=${vcg.src}"
];