From ca272acfd48674c0e31d662d999bcf7a49541794 Mon Sep 17 00:00:00 2001 From: Stefano Date: Fri, 29 Mar 2024 12:44:25 +0100 Subject: [PATCH] Removed DEPENDS flag when creating the device Since I am using REQUIRED when checking the dependecies, it is useless --- src/devices/keyboard-joypad/CMakeLists.txt | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/devices/keyboard-joypad/CMakeLists.txt b/src/devices/keyboard-joypad/CMakeLists.txt index afeb353..ba0c7ec 100644 --- a/src/devices/keyboard-joypad/CMakeLists.txt +++ b/src/devices/keyboard-joypad/CMakeLists.txt @@ -4,17 +4,10 @@ # This software may be modified and distributed under the terms of the # BSD-2-Clause license. See the accompanying LICENSE file for details. -set(DEPENDS_STRING "glfw3_FOUND;GLEW_FOUND;OpenGL_FOUND") - -if (NOT WIN32) - string(APPEND DEPENDS_STRING ";X11_FOUND") -endif() - yarp_prepare_plugin(keyboardJoypad CATEGORY device TYPE yarp::dev::KeyboardJoypad INCLUDE KeyboardJoypad.h - DEPENDS ${DEPENDS_STRING} INTERNAL QUIET )