Add CMakeLists.txt for building getopt
This commit is contained in:
parent
49b5292415
commit
3d7f600dd9
1 changed files with 14 additions and 0 deletions
14
telldus-core/3rdparty/openbsd-getopt/CMakeLists.txt
vendored
Normal file
14
telldus-core/3rdparty/openbsd-getopt/CMakeLists.txt
vendored
Normal 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}
|
||||||
|
)
|
Loading…
Add table
Add a link
Reference in a new issue