Makefile: fix invoking cmake in the build dir (#2078)
`"(@D)"` is the dir of the target, i.e. "build" for BUILDDIR=build, which results in calling `cmake build ..`. cmake appears to ignore the "build" in this case, and works the same way without it. Instead of ".." this patch uses `$(CURDIR)`, which is the absolute path to the source dir, which is relevant in case `BUILDDIR` is not just a direct subdirectory.
This commit is contained in:
parent
5ac6db5696
commit
1ca3fff86c
Loading…
Reference in New Issue