build: allow to specify cmake args

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-05-08 19:54:38 +02:00
parent b33cb3b89c
commit 99f763d833

View file

@ -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…"