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 /libwardrobe/src/CMakeLists.txt | |
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 'libwardrobe/src/CMakeLists.txt')
-rw-r--r-- | libwardrobe/src/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libwardrobe/src/CMakeLists.txt b/libwardrobe/src/CMakeLists.txt index f466103..d6bed82 100644 --- a/libwardrobe/src/CMakeLists.txt +++ b/libwardrobe/src/CMakeLists.txt @@ -3,7 +3,8 @@ set (CMAKE_C_FLAGS -Wall) configure_file (${CMAKE_CURRENT_SOURCE_DIR}/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h) -include_directories (${CMAKE_CURRENT_SOURCE_DIR}/../../libwaitress/src) +include_directories (${CMAKE_CURRENT_SOURCE_DIR}/../../libwaitress/src + ${CMAKE_CURRENT_BINARY_DIR} ) add_library (wardrobe STATIC main.c md5.c) target_link_libraries (wardrobe waitress) |