From 1a9d30b0413b5d92a8481f99a5249e94d3595087 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/qpid@790465 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/examples/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/examples') 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} ) -- cgit v1.2.1