From e38976389b8577c731c655cd64a9fe3c167f9b65 Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Thu, 2 Jul 2009 05:46:51 +0000 Subject: Fix make build to generate code into the build tree git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@790465 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/examples/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qpid/cpp/examples') diff --git a/qpid/cpp/examples/CMakeLists.txt b/qpid/cpp/examples/CMakeLists.txt index bfc7e7389d..a381dbe023 100644 --- a/qpid/cpp/examples/CMakeLists.txt +++ b/qpid/cpp/examples/CMakeLists.txt @@ -24,7 +24,7 @@ endif(COMMAND cmake_policy) # This will probably need some fiddling to get right for installed kits. get_directory_property(QPIDC_TOP PARENT_DIRECTORY) -include_directories(${QPIDC_TOP}/src ${QPIDC_TOP}/src/gen) +include_directories(${QPIDC_TOP}/src ${CMAKE_CURRENT_BINARY_DIR}/../src/gen) # Shouldn't need this... but there are still client header inclusions of Boost. include_directories( ${Boost_INCLUDE_DIR} ) -- cgit v1.2.1