summaryrefslogtreecommitdiff
path: root/libpiano/src/CMakeLists.txt
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@lavabit.com>2009-05-03 19:56:54 +0200
committerLars-Dominik Braun <PromyLOPh@lavabit.com>2009-05-03 19:56:54 +0200
commit096975db943e4422a9a0afd57d785d4f3ade97f0 (patch)
treedc97a6a07de2989205eaa18f9041c8cc9fcf2630 /libpiano/src/CMakeLists.txt
parent56d47cd3584322b0d2984935ff278424695a4abf (diff)
downloadpianobar-096975db943e4422a9a0afd57d785d4f3ade97f0.tar.gz
pianobar-096975db943e4422a9a0afd57d785d4f3ade97f0.tar.bz2
pianobar-096975db943e4422a9a0afd57d785d4f3ade97f0.zip
piano: Switch to libwaitress
Diffstat (limited to 'libpiano/src/CMakeLists.txt')
-rw-r--r--libpiano/src/CMakeLists.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/libpiano/src/CMakeLists.txt b/libpiano/src/CMakeLists.txt
index 9525101..432c5fd 100644
--- a/libpiano/src/CMakeLists.txt
+++ b/libpiano/src/CMakeLists.txt
@@ -1,11 +1,13 @@
set (CMAKE_C_FLAGS -Wall)
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})
+include_directories (${LIBXML2_INCLUDE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../libwaitress/src)
+
add_library (piano STATIC crypt.c http.c main.c xml.c)
-target_link_libraries (${CURL_LIBRARIES} ${LIBXML_LIBRARIES})
+target_link_libraries (piano ${LIBXML_LIBRARIES} waitress)
+