Commit
ef8de928da7f forced DHCPV4_SUPPORT and UBUS cmake options, but should
have fixed BUILD_ARGS instead (-WITH_UBUS=ON -> -DUBUS=ON).
Fixes: ef8de928da7f ("build: enable DHCPV4_SUPPORT and UBUS")
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
fi
if [ $# -eq 0 ]; then
- BUILD_ARGS="-DDHCPV4_SUPPORT=ON -WITH_UBUS=ON"
+ BUILD_ARGS="-DDHCPV4_SUPPORT=ON -DUBUS=ON"
else
BUILD_ARGS="$@"
fi
cmake \
-S . \
-B "${BUILDDIR}" \
- -DDHCPV4_SUPPORT=ON \
- -DUBUS=ON \
-DCMAKE_PREFIX_PATH="${BUILDDIR}" \
${BUILD_ARGS}
make -C "${BUILDDIR}"