Author: tross
Date: Tue Jul 13 15:22:30 2010
New Revision: 963759
URL: http://svn.apache.org/viewvc?rev=963759&view=rev
Log:
QPID-2728 - Patch from Chuck Rolke
Fix recent changes to CMake build to properly handle separate source/build
directories
Modified:
qpid/trunk/qpid/cpp/src/CMakeLists.txt
Modified: qpid/trunk/qpid/cpp/src/CMakeLists.txt
URL:
http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/CMakeLists.txt?rev=963759&r1=963758&r2=963759&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/CMakeLists.txt (original)
+++ qpid/trunk/qpid/cpp/src/CMakeLists.txt Tue Jul 13 15:22:30 2010
@@ -108,7 +108,7 @@ MACRO (add_msvc_version_full verProject
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} )
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]