aboutsummaryrefslogtreecommitdiff
path: root/externals/getopt/CMakeLists.txt
blob: 4797fe01c05e0d028d8d455e3032adb17450f165 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# SPDX-FileCopyrightText: 2015 Greg Wicks <gpwicks@email.wm.edu>
# SPDX-License-Identifier: GPL-2.0-or-later

add_library(getopt
    getopt.c
    getopt.h
)

create_target_directory_groups(getopt)

target_compile_definitions(getopt PUBLIC STATIC_GETOPT)
target_include_directories(getopt INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})