Skip to content

Commit d0ed351

Browse files
authored
Disable CMake unused variable warning (#248)
1 parent 0f514e7 commit d0ed351

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

config/raspbian/generic/build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ pushd $FW_TARGETDIR/mcu_ws >/dev/null
1010
-DCMAKE_TOOLCHAIN_FILE=$PWD/toolchain.cmake \
1111
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
1212
-DBUILD_SHARED_LIBS=OFF \
13-
-DBUILD_TESTING=OFF
13+
-DBUILD_TESTING=OFF \
14+
"--no-warn-unused-cli"
1415
find ./install -executable -type f -name $APP_BINARY_NAME -exec cp {} $FW_TARGETDIR/bin/$APP_OUTPUT_NAME \;
1516
popd >/dev/null

0 commit comments

Comments
 (0)