summaryrefslogtreecommitdiff
path: root/qpid/cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2012-04-02 18:53:27 +0000
committerAndrew Stitcher <astitcher@apache.org>2012-04-02 18:53:27 +0000
commita493aaaa625352344652543be606c1a00f9f685b (patch)
tree49b86130c99b016ee59e497c5c74195b995bc8a7 /qpid/cpp
parent95b45597d87a700095299a0772f7e4379ca00034 (diff)
downloadqpid-python-a493aaaa625352344652543be606c1a00f9f685b.tar.gz
NO-JIRA: Allow Cmake builds to carry on working on Fedora (and probably other Unixes):
The QPID_LINK_BOOST_DYNAMIC option needs to be created for non MSVC builds too now that we only conditionally link the tests dynamically as Unix bulds are always dynamic. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1308461 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
-rw-r--r--qpid/cpp/src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/CMakeLists.txt b/qpid/cpp/src/CMakeLists.txt
index b6ce249708..f6d01eaf9c 100644
--- a/qpid/cpp/src/CMakeLists.txt
+++ b/qpid/cpp/src/CMakeLists.txt
@@ -354,6 +354,7 @@ endif (NOT Boost_REGEX_LIBRARY)
# Boost on Windows can use automatic linking to pick up the correct
# Boost libs based on compile-time touching of the headers. Since we don't
# really need to add them to the link lines, set the names to blanks.
+option(QPID_LINK_BOOST_DYNAMIC "Link with dynamic Boost libs (OFF to link static)" ON)
if (MSVC)
install (PROGRAMS
${Boost_DATE_TIME_LIBRARY_DEBUG} ${Boost_DATE_TIME_LIBRARY_RELEASE}
@@ -371,7 +372,6 @@ if (MSVC)
COMPONENT ${QPID_COMPONENT_COMMON})
endif (NOT Boost_VERSION LESS 103500)
- option(QPID_LINK_BOOST_DYNAMIC "Link with dynamic Boost libs (OFF to link static)" ON)
if (QPID_LINK_BOOST_DYNAMIC)
add_definitions( /D BOOST_ALL_DYN_LINK)
string (REPLACE .lib .dll