summaryrefslogtreecommitdiff
path: root/libpiano/src/CMakeLists.txt
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 /libpiano/src/CMakeLists.txt
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 'libpiano/src/CMakeLists.txt')
-rw-r--r--libpiano/src/CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/libpiano/src/CMakeLists.txt b/libpiano/src/CMakeLists.txt
new file mode 100644
index 0000000..b3d49a2
--- /dev/null
+++ b/libpiano/src/CMakeLists.txt
@@ -0,0 +1,9 @@
+find_package (LibXml2 REQUIRED)
+find_package (CURL REQUIRED)
+
+configure_file (${CMAKE_CURRENT_SOURCE_DIR}/config.h.in
+ ${CMAKE_CURRENT_BINARY_DIR}/config.h)
+
+include_directories (${LIBXML2_INCLUDE_DIR} ${CURL_INCLUDE_DIRS})
+add_library (piano STATIC crypt.c http.c main.c xml.c)
+target_link_libraries (${CURL_LIBRARIES} ${LIBXML_LIBRARIES})