Add CMakeLists.txt for building getopt

This commit is contained in:
Micke Prag 2012-01-18 11:37:25 +01:00
parent 49b5292415
commit 3d7f600dd9

View file

@ -0,0 +1,14 @@
SET( SRCS
getopt_long.c
)
SET( HDRS
getopt.h
)
INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} )
ADD_LIBRARY(openbsd-getopt STATIC
${SRCS}
${HDRS}
)