# SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT) # SPDX-License-Identifier: BSD-3-Clause if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) cmake_minimum_required(VERSION 3.16) project(fake_motor) find_package(YARP REQUIRED COMPONENTS os dev) endif() add_executable(fake_motor) target_sources(fake_motor PRIVATE fake_motor.cpp) target_link_libraries(fake_motor PRIVATE YARP::YARP_os YARP::YARP_init YARP::YARP_dev ) if(DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) set_property(TARGET fake_motor PROPERTY FOLDER "Examples/dev") endif()