summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2014-01-16 23:03:24 +0000
committerAndrew Stitcher <astitcher@apache.org>2014-01-16 23:03:24 +0000
commit12057cdc2f2336e5b16e25cf620c00da3b1d7175 (patch)
tree1adf2517f692fd4d37376bfdd1414babd162b172 /cpp/src
parente4e01cd48489a57a1c7e4dd4b5223d24067d4086 (diff)
downloadqpid-python-12057cdc2f2336e5b16e25cf620c00da3b1d7175.tar.gz
NO-JIRA: Turn off cmake warnings caused by change in recent cmake 2.8 versions
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1558954 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/src/CMakeLists.txt b/cpp/src/CMakeLists.txt
index c77b753727..c378c70fea 100644
--- a/cpp/src/CMakeLists.txt
+++ b/cpp/src/CMakeLists.txt
@@ -155,7 +155,10 @@ if (VALGRIND_FOUND)
endif (VALGRIND_FOUND)
# Do not keep on linking against transitive library dependencies
+# TODO Need to rework CMake files to use INTERFACE_LINK_LIBRARIES target property
+# When that is done we can remove the next 2 lines completely
set (CMAKE_LINK_INTERFACE_LIBRARIES "")
+cmake_policy(SET CMP0022 OLD)
if (CMAKE_COMPILER_IS_GNUCXX)
# Warnings: Enable as many as possible, keep the code clean. Please