summaryrefslogtreecommitdiff
path: root/libpiano/src/CMakeLists.txt
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@lavabit.com>2009-07-11 15:13:02 +0200
committerLars-Dominik Braun <PromyLOPh@lavabit.com>2009-07-11 15:13:02 +0200
commita34feb431bb9a8bef76fc1e069c73ded48b1f4cc (patch)
treecdb3a2f34e7cb680d7f4c3432fa5e9ce20126068 /libpiano/src/CMakeLists.txt
parent7d76f4315eaa5ac7783c9cbb47c31a487904dbb2 (diff)
downloadpianobar-a34feb431bb9a8bef76fc1e069c73ded48b1f4cc.tar.gz
pianobar-a34feb431bb9a8bef76fc1e069c73ded48b1f4cc.tar.bz2
pianobar-a34feb431bb9a8bef76fc1e069c73ded48b1f4cc.zip
piano: Switched to ezxml
Removes libxml2 bloat and (hopefully) most of the buggy/ugly xml code.
Diffstat (limited to 'libpiano/src/CMakeLists.txt')
-rw-r--r--libpiano/src/CMakeLists.txt8
1 files changed, 3 insertions, 5 deletions
diff --git a/libpiano/src/CMakeLists.txt b/libpiano/src/CMakeLists.txt
index 432c5fd..54b3ebe 100644
--- a/libpiano/src/CMakeLists.txt
+++ b/libpiano/src/CMakeLists.txt
@@ -1,13 +1,11 @@
set (CMAKE_C_FLAGS -Wall)
-find_package (LibXml2 REQUIRED)
-
configure_file (${CMAKE_CURRENT_SOURCE_DIR}/config.h.in
${CMAKE_CURRENT_BINARY_DIR}/config.h)
-include_directories (${LIBXML2_INCLUDE_DIR}
- ${CMAKE_CURRENT_SOURCE_DIR}/../../libwaitress/src)
+include_directories (${CMAKE_CURRENT_SOURCE_DIR}/../../libwaitress/src
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../libezxml/src)
add_library (piano STATIC crypt.c http.c main.c xml.c)
-target_link_libraries (piano ${LIBXML_LIBRARIES} waitress)
+target_link_libraries (piano waitress ezxml)