build: allow to specify cmake args
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
b33cb3b89c
commit
99f763d833
2
Makefile
2
Makefile
|
@ -21,7 +21,7 @@ $(BUILDLN):
|
||||||
cmake ${builddir}/CMakeCache.txt:
|
cmake ${builddir}/CMakeCache.txt:
|
||||||
mkdir -p ${builddir}
|
mkdir -p ${builddir}
|
||||||
$(ECHO) "Running cmake…"
|
$(ECHO) "Running cmake…"
|
||||||
cd ${builddir} && cmake "$(@D)" ..
|
cd ${builddir} && cmake $(CMAKE_ARGS) "$(@D)" ..
|
||||||
|
|
||||||
cmake-build: ${builddir}/CMakeCache.txt
|
cmake-build: ${builddir}/CMakeCache.txt
|
||||||
$(ECHO) "Building…"
|
$(ECHO) "Building…"
|
||||||
|
|
Loading…
Reference in New Issue