Skip to content

Commit cda4dbd

Browse files
authored
Avoid CMake warnings for unused project variables (#14)
1 parent 2a5dbcd commit cda4dbd

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

microros_crazyflie21_extensions/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ colcon_compile: arm_toolchain
9090
--packages-ignore-regex=.*_cpp \
9191
--metas $(UROS_DIR)/colcon.meta $(UROS_APP_FOLDER)/app-colcon.meta \
9292
--cmake-args \
93+
"--no-warn-unused-cli" \
9394
-DCMAKE_POSITION_INDEPENDENT_CODE=OFF \
9495
-DTHIRDPARTY=ON \
9596
-DBUILD_SHARED_LIBS=OFF \

microros_nucleo_f446ze_extensions/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ colcon_compile: arm_toolchain
241241
--packages-ignore-regex=.*_cpp \
242242
--metas $(UROS_DIR)/colcon.meta $(UROS_APP_FOLDER)/app-colcon.meta \
243243
--cmake-args \
244+
"--no-warn-unused-cli" \
244245
-DCMAKE_POSITION_INDEPENDENT_CODE=OFF \
245246
-DTHIRDPARTY=ON \
246247
-DBUILD_SHARED_LIBS=OFF \

microros_olimex_e407_extensions/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,7 @@ colcon_compile: arm_toolchain
329329
--packages-ignore-regex=.*_cpp \
330330
--metas $(UROS_DIR)/colcon.meta $(UROS_APP_FOLDER)/app-colcon.meta \
331331
--cmake-args \
332+
"--no-warn-unused-cli" \
332333
-DCMAKE_POSITION_INDEPENDENT_CODE=OFF \
333334
-DTHIRDPARTY=ON \
334335
-DBUILD_SHARED_LIBS=OFF \

0 commit comments

Comments
 (0)