YuZu-EA/externals/getopt/CMakeLists.txt
guilhemjeh dde3987d5c Backup
2024-03-04 21:15:51 +01:00

13 lines
339 B
CMake
Executable File

# 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})