From feafdcc8a12c57bd98168b11c0006f1eb5eeb0ba Mon Sep 17 00:00:00 2001 From: Patrick Reynolds Date: Tue, 18 Aug 2009 23:05:58 -0400 Subject: 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. --- libwaitress/src/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libwaitress/src') 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}) -- cgit v1.2.3