yuzu/externals/getopt/CMakeLists.txt

13 lines
327 B
CMake
Raw Normal View History

2022-07-27 22:06:50 +04:00
# SPDX-FileCopyrightText: 2015 Greg Wicks <gpwicks@email.wm.edu>
# SPDX-License-Identifier: GPL-2.0-or-later
2020-12-28 19:15:37 +04:00
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})