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