summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen D. Huston <shuston@apache.org>2010-07-14 11:49:10 +0000
committerStephen D. Huston <shuston@apache.org>2010-07-14 11:49:10 +0000
commit1de71004456fa4889940a5a718378f49554b7c11 (patch)
tree66cfde653efc9760e2da61b79d93efed8e9d52b5
parent9f4a986a8073019a6c1b253727fa8330b64b3555 (diff)
downloadqpid-python-1de71004456fa4889940a5a718378f49554b7c11.tar.gz
Specify paths for the generated resource file so it gets picked up correctly when generating projects. Fixes QPID-2728.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@964013 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--cpp/src/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/CMakeLists.txt b/cpp/src/CMakeLists.txt
index 59a2d6a4c9..67d18e42df 100644
--- a/cpp/src/CMakeLists.txt
+++ b/cpp/src/CMakeLists.txt
@@ -109,10 +109,10 @@ MACRO (add_msvc_version_full verProject verProjectType verProjectFileExt verFN1
set ("winverProductName" "${winver_${verProject}_ProductName}")
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/windows/resources/template-resource.rc
- windows/resources/${verProject}-resource.rc)
+ ${CMAKE_CURRENT_BINARY_DIR}/windows/resources/${verProject}-resource.rc)
set (${verProject}_SOURCES
${${verProject}_SOURCES}
- windows/resources/${verProject}-resource.rc
+ ${CMAKE_CURRENT_BINARY_DIR}/windows/resources/${verProject}-resource.rc
)
endif (MSVC)
ENDMACRO (add_msvc_version_full)