diff options
author | Patrick Reynolds <cpreynolds@gmail.com> | 2009-08-18 23:05:58 -0400 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2009-08-19 17:35:38 +0200 |
commit | feafdcc8a12c57bd98168b11c0006f1eb5eeb0ba (patch) | |
tree | 9dd79d57bbf4f972bb351ab688bda5aa02d52dcd /libwaitress | |
parent | 0b78ef85100978c6c32a0815b5b8544b72f05c52 (diff) | |
download | pianobar-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 'libwaitress')
-rw-r--r-- | libwaitress/src/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libwaitress/src/CMakeLists.txt b/libwaitress/src/CMakeLists.txt index 96ac328..8978a08 100644 --- a/libwaitress/src/CMakeLists.txt +++ b/libwaitress/src/CMakeLists.txt @@ -16,6 +16,8 @@ ENDIF(NOT CMAKE_HAVE_CONNECT) configure_file (${CMAKE_CURRENT_SOURCE_DIR}/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h) +include_directories( ${CMAKE_CURRENT_BINARY_DIR} ) + add_library (waitress STATIC main.c) target_link_libraries (waitress ${EXTRA_LIBS}) |