diff --git a/mingw-w64-scotch/PKGBUILD b/mingw-w64-scotch/PKGBUILD index d908834f7c43c..b459d0e96d145 100644 --- a/mingw-w64-scotch/PKGBUILD +++ b/mingw-w64-scotch/PKGBUILD @@ -58,6 +58,7 @@ _build_scotch() { -DBUILD_PTSCOTCH=ON \ -DBUILD_LIBESMUMPS=ON \ -DBUILD_LIBSCOTCHMETIS=OFF \ + -DCMAKE_CURRENT_SOURCE_DIR=${srcdir} \ ../${_realname}-v${pkgver} ${MINGW_PREFIX}/bin/cmake --build .