summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@lavabit.com>2009-04-10 14:32:16 +0200
committerLars-Dominik Braun <PromyLOPh@lavabit.com>2009-04-10 14:32:16 +0200
commit71d9447316133c8e447ca7538d9533e1ef61e0eb (patch)
tree2c59aca8ad2f671f458065eb8e7554a3cd9a64ed /src/CMakeLists.txt
parentdc7fe1e2405c49338e5dca5f559f17e8c5977b98 (diff)
downloadpianobar-71d9447316133c8e447ca7538d9533e1ef61e0eb.tar.gz
pianobar-71d9447316133c8e447ca7538d9533e1ef61e0eb.tar.bz2
pianobar-71d9447316133c8e447ca7538d9533e1ef61e0eb.zip
Goodbye readline
"It's too big and too slow." -- man readline
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index f871b7b..5fb020c 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -8,7 +8,6 @@ option (USE_MAD "Use libmad for mp3 decoding (if available)" on)
find_package (LibXml2 REQUIRED)
find_package (CURL REQUIRED)
-find_package (Readline REQUIRED)
find_package (LibAo REQUIRED)
# find threading implementation
@@ -57,12 +56,13 @@ include_directories (
${pianobar_SOURCE_DIR}/libpiano/src
${pianobar_SOURCE_DIR}/libwardrobe/src
${LIBXML2_INCLUDE_DIR}
- ${CURL_INCLUDE_DIRS} ${READLINE_INCLUDE_DIR} ${FAAD_INCLUDE_DIRS}
- ${LIBAO_INCLUDE_DIRS} ${MAD_INCLUDE_DIRS})
+ ${CURL_INCLUDE_DIRS} ${FAAD_INCLUDE_DIRS} ${LIBAO_INCLUDE_DIRS}
+ ${MAD_INCLUDE_DIRS})
-add_executable (pianobar main.c terminal.c settings.c player.c ui.c ui_act.c)
+add_executable (pianobar main.c terminal.c settings.c player.c ui.c ui_act.c
+ ui_readline.c)
target_link_libraries (pianobar piano wardrobe ${CURL_LIBRARIES}
- ${LIBXML2_LIBRARIES} ${READLINE_LIBRARY} ${FAAD_LIBRARY} ${LIBAO_LIBRARY}
+ ${LIBXML2_LIBRARIES} ${FAAD_LIBRARY} ${LIBAO_LIBRARY}
${CMAKE_THREAD_LIBS_INIT} ${MAD_LIBRARIES} ${LIBM})
install (TARGETS pianobar RUNTIME DESTINATION bin)