From 7153310522a572958df60966a0023101794b105f Mon Sep 17 00:00:00 2001 From: Stefano Date: Fri, 29 Mar 2024 12:57:58 +0100 Subject: [PATCH] Using DEFAULT=ON for the yarp plugin --- src/devices/keyboard-joypad/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/devices/keyboard-joypad/CMakeLists.txt b/src/devices/keyboard-joypad/CMakeLists.txt index 92a395b..211b6cf 100644 --- a/src/devices/keyboard-joypad/CMakeLists.txt +++ b/src/devices/keyboard-joypad/CMakeLists.txt @@ -8,12 +8,13 @@ yarp_prepare_plugin(keyboardJoypad CATEGORY device TYPE yarp::dev::KeyboardJoypad INCLUDE KeyboardJoypad.h + DEFAULT ON INTERNAL QUIET ) if(NOT ENABLE_keyboard-joypad) - message(FATAL "yarp_keyboard-joypad build requested but ENABLE_keyboard-joypad is set to OFF") + message(FATAL_ERROR "yarp_keyboard-joypad build requested but ENABLE_keyboard-joypad is set to OFF") endif() set(yarp_keyboard-joypad_SRCS