summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorPatrick Reynolds <cpreynolds@gmail.com>2009-08-18 23:05:58 -0400
committerLars-Dominik Braun <PromyLOPh@lavabit.com>2009-08-19 17:35:38 +0200
commitfeafdcc8a12c57bd98168b11c0006f1eb5eeb0ba (patch)
tree9dd79d57bbf4f972bb351ab688bda5aa02d52dcd /src/CMakeLists.txt
parent0b78ef85100978c6c32a0815b5b8544b72f05c52 (diff)
downloadpianobar-feafdcc8a12c57bd98168b11c0006f1eb5eeb0ba.tar.gz
pianobar-feafdcc8a12c57bd98168b11c0006f1eb5eeb0ba.tar.bz2
pianobar-feafdcc8a12c57bd98168b11c0006f1eb5eeb0ba.zip
Added some cmake code to the project CMakeLists.txt's to include the proper binary directories. Without this code, out-of-source builds do not work.
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 5ef7c5a..77e4b65 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -59,6 +59,7 @@ include_directories (
${pianobar_SOURCE_DIR}/libpiano/src
${pianobar_SOURCE_DIR}/libwardrobe/src
${pianobar_SOURCE_DIR}/libwaitress/src
+ ${CMAKE_CURRENT_BINARY_DIR}
${FAAD_INCLUDE_DIRS} ${LIBAO_INCLUDE_DIRS}
${MAD_INCLUDE_DIRS})