summaryrefslogtreecommitdiffstats
path: root/externals/getopt/CMakeLists.txt
blob: b4709a506a047e071d97e7c41d6a1e6a9dfc00ac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
set(SRCS
            getopt.c
            )
set(HEADERS
            getopt.h
            )

create_directory_groups(${SRCS} ${HEADERS})
add_library(getopt ${SRCS} ${HEADERS})
target_compile_definitions(getopt INTERFACE STATIC_GETOPT)
target_include_directories(getopt INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})