aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples/getopt/CMakeLists.txt
blob: be9f837e3d65af1ac40fdd690d36927237dcb67d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#
# Copyright 2015 Ettus Research LLC
#
# SPDX-License-Identifier: GPL-3.0
#

########################################################################
# getopt library for C examples since MSVC does not include it
########################################################################
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIRECTORY})
ADD_LIBRARY(getopt STATIC
    ${CMAKE_CURRENT_SOURCE_DIR}/getopt.c
)