Skip to content

Commit

Permalink
Added CMake error when the device compilation is not enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
S-Dafarra committed Mar 29, 2024
1 parent ca272ac commit fdf7deb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/devices/keyboard-joypad/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ yarp_prepare_plugin(keyboardJoypad
)

if(NOT ENABLE_keyboard-joypad)
return()
message(FATAL "yarp_keyboard-joypad build requested but ENABLE_keyboard-joypad is set to OFF")
endif()

set(yarp_keyboard-joypad_SRCS
Expand Down

0 comments on commit fdf7deb

Please sign in to comment.