1
0
mirror of https://github.com/citra-emu/citra.git synced 2024-12-20 11:20:08 +00:00
citra/externals/getopt/CMakeLists.txt
Lioncash ab021d163e CMakeLists: Derive the source directory grouping from targets themselves
Removes the need to store to separate SRC and HEADER variables,
and then construct the target in most cases.
2017-12-11 21:11:52 -05:00

10 lines
217 B
CMake

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