summaryrefslogtreecommitdiff
path: root/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
commit1a9d30b0413b5d92a8481f99a5249e94d3595087 (patch)
treeb2d03ac9a5e328b774a460dcc4f87a3c9049a196 /cpp/examples
parente2f348143e847746ea4a7559731394f09afc8b42 (diff)
downloadqpid-python-1a9d30b0413b5d92a8481f99a5249e94d3595087.tar.gz
Fix make build to generate code into the build tree
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@790465 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/examples')
-rw-r--r--cpp/examples/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/examples/CMakeLists.txt b/cpp/examples/CMakeLists.txt
index bfc7e7389d..a381dbe023 100644
--- a/cpp/examples/CMakeLists.txt
+++ b/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} )