From 3d7f600dd983fbf37b994db81c5b23ec40c2a223 Mon Sep 17 00:00:00 2001 From: Micke Prag Date: Wed, 18 Jan 2012 11:37:25 +0100 Subject: [PATCH] Add CMakeLists.txt for building getopt --- .../3rdparty/openbsd-getopt/CMakeLists.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 telldus-core/3rdparty/openbsd-getopt/CMakeLists.txt diff --git a/telldus-core/3rdparty/openbsd-getopt/CMakeLists.txt b/telldus-core/3rdparty/openbsd-getopt/CMakeLists.txt new file mode 100644 index 00000000..89080c41 --- /dev/null +++ b/telldus-core/3rdparty/openbsd-getopt/CMakeLists.txt @@ -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} +)