Why? Open Source Qt 5 will stop receiving updates rather sooner than later so it's worth switching to Qt 6 to remain compatible with modern systems. Reviewed-on: http://vub63vv26q6v27xzv2dtcd25xumubshogm67yrpaz2rculqxs7jlfqad.onion/torzu-emu/torzu/pulls/130
13 lines
331 B
CMake
13 lines
331 B
CMake
# SPDX-FileCopyrightText: 2015 Greg Wicks <gpwicks@email.wm.edu>
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
add_library(getopt STATIC
|
|
getopt.c
|
|
getopt.h
|
|
)
|
|
|
|
create_target_directory_groups(getopt)
|
|
|
|
target_compile_definitions(getopt PUBLIC STATIC_GETOPT)
|
|
target_include_directories(getopt PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|