summaryrefslogtreecommitdiff
path: root/libwardrobe/src
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@lavabit.com>2009-01-31 19:39:48 +0100
committerLars-Dominik Braun <PromyLOPh@lavabit.com>2009-01-31 19:39:48 +0100
commit516bc854369243b2f1ba4f1c019aca06cbbd736e (patch)
tree82cbc27a8975af41b694090172421e8dd83c9d92 /libwardrobe/src
parent9312c14b47a2d6e58238902d1424ae8d45d73ac5 (diff)
downloadpianobar-windows-516bc854369243b2f1ba4f1c019aca06cbbd736e.tar.gz
pianobar-windows-516bc854369243b2f1ba4f1c019aca06cbbd736e.tar.bz2
pianobar-windows-516bc854369243b2f1ba4f1c019aca06cbbd736e.zip
Whoops, forgot to add new files to last commit...
Diffstat (limited to 'libwardrobe/src')
-rw-r--r--libwardrobe/src/CMakeLists.txt8
-rw-r--r--libwardrobe/src/config.h.in1
2 files changed, 9 insertions, 0 deletions
diff --git a/libwardrobe/src/CMakeLists.txt b/libwardrobe/src/CMakeLists.txt
new file mode 100644
index 0000000..960f4ca
--- /dev/null
+++ b/libwardrobe/src/CMakeLists.txt
@@ -0,0 +1,8 @@
+find_package (CURL REQUIRED)
+
+configure_file (${CMAKE_CURRENT_SOURCE_DIR}/config.h.in
+ ${CMAKE_CURRENT_BINARY_DIR}/config.h)
+
+include_directories (${CURL_INCLUDE_DIR})
+
+add_library (wardrobe STATIC main.c md5.c)
diff --git a/libwardrobe/src/config.h.in b/libwardrobe/src/config.h.in
new file mode 100644
index 0000000..60600a7
--- /dev/null
+++ b/libwardrobe/src/config.h.in
@@ -0,0 +1 @@
+#define PACKAGE "${PACKAGE}"