summaryrefslogtreecommitdiff
path: root/qpid/cpp/examples
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2009-07-02 05:46:51 +0000
committerAndrew Stitcher <astitcher@apache.org>2009-07-02 05:46:51 +0000
commite38976389b8577c731c655cd64a9fe3c167f9b65 (patch)
tree07afd8d0389cb475215c0f06ed748a172e44b6ef /qpid/cpp/examples
parentb9c16c0f118317871454fde5ee703c157d88e660 (diff)
downloadqpid-python-e38976389b8577c731c655cd64a9fe3c167f9b65.tar.gz
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
Diffstat (limited to 'qpid/cpp/examples')
-rw-r--r--qpid/cpp/examples/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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} )