summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2010-07-13 15:22:30 +0000
committerTed Ross <tross@apache.org>2010-07-13 15:22:30 +0000
commitd68827e2b28356042e582250c840189e339e5076 (patch)
treebf2d81a60ee57139251aab539a4bd82d41484710 /qpid/cpp/src
parentae93c3f33a2055f251d67fb3163a8167a6c9c292 (diff)
downloadqpid-python-d68827e2b28356042e582250c840189e339e5076.tar.gz
QPID-2728 - Patch from Chuck Rolke
Fix recent changes to CMake build to properly handle separate source/build directories git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@963759 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
-rw-r--r--qpid/cpp/src/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/qpid/cpp/src/CMakeLists.txt b/qpid/cpp/src/CMakeLists.txt
index 77b894459b..59a2d6a4c9 100644
--- a/qpid/cpp/src/CMakeLists.txt
+++ b/qpid/cpp/src/CMakeLists.txt
@@ -108,7 +108,7 @@ MACRO (add_msvc_version_full verProject verProjectType verProjectFileExt verFN1
set ("winverOriginalFilename" "${winver_${verProject}_OriginalFilename}")
set ("winverProductName" "${winver_${verProject}_ProductName}")
- configure_file(windows/resources/template-resource.rc
+ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/windows/resources/template-resource.rc
windows/resources/${verProject}-resource.rc)
set (${verProject}_SOURCES
${${verProject}_SOURCES}
@@ -437,6 +437,7 @@ if (MSVC)
set(Boost_FILESYSTEM_LIBRARY "")
set(Boost_UNIT_TEST_FRAMEWORK_LIBRARY "")
set(Boost_REGEX_LIBRARY "")
+ include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/windows/resources )
endif (MSVC)
include_directories( ${Boost_INCLUDE_DIR} )