1
0
Fork 0
forked from suyu/suyu
undo-deletions/externals/getopt/CMakeLists.txt

11 lines
No EOL
306 B
CMake

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