# Copyright (C) 2006-2021 Istituto Italiano di Tecnologia (IIT)
# All rights reserved.
#
# This software may be modified and distributed under the terms of the
# BSD-3-Clause license. See the accompanying LICENSE file for details.

# Make sure that YARP_DIR is set in your environment to wherever you
# compiled YARP.

cmake_minimum_required(VERSION 3.12)

find_package(YARP COMPONENTS os name REQUIRED)

add_executable(nameserver_proxy)
target_sources(nameserver_proxy PRIVATE main.cpp)
target_link_libraries(nameserver_proxy YARP::YARP_os
                                       YARP::YARP_name
                                       YARP::YARP_init)
