summaryrefslogtreecommitdiff
path: root/externals/getopt/CMakeLists.txt
blob: ad7a2b36324094e998809b18896d516ec486025f (plain) (blame)
1
2
3
4
5
6
7
8
9
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})