summaryrefslogtreecommitdiff
path: root/qpid/cpp/bindings
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2016-03-16 22:36:24 +0000
committerAndrew Stitcher <astitcher@apache.org>2016-03-16 22:36:24 +0000
commit9db3c30218c417dc5bfb3b7fbba85643969f3c90 (patch)
treeb7137019c83549f07e19887849aa483233267c19 /qpid/cpp/bindings
parenta13774c897218ba99d55a743ab77ba9179b93ff3 (diff)
downloadqpid-python-9db3c30218c417dc5bfb3b7fbba85643969f3c90.tar.gz
QPID-7148: Update CMake files to use better more modern style and features
- This is already the way we do this stuff in Qpid Proton - Upgrade minimum version of CMake to 2.8.7 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1735324 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/bindings')
-rw-r--r--qpid/cpp/bindings/qmf2/examples/cpp/CMakeLists.txt5
1 files changed, 1 insertions, 4 deletions
diff --git a/qpid/cpp/bindings/qmf2/examples/cpp/CMakeLists.txt b/qpid/cpp/bindings/qmf2/examples/cpp/CMakeLists.txt
index 32fce36e1d..2a01f333ae 100644
--- a/qpid/cpp/bindings/qmf2/examples/cpp/CMakeLists.txt
+++ b/qpid/cpp/bindings/qmf2/examples/cpp/CMakeLists.txt
@@ -17,10 +17,7 @@
# under the License.
#
project(qmf2_examples)
-cmake_minimum_required(VERSION 2.4.0 FATAL_ERROR)
-if(COMMAND cmake_policy)
- cmake_policy(SET CMP0003 NEW)
-endif(COMMAND cmake_policy)
+cmake_minimum_required(VERSION 2.8.7 FATAL_ERROR)
include_directories(${CMAKE_BINARY_DIR}/include)
include_directories(${CMAKE_SOURCE_DIR}/include)