From 9db3c30218c417dc5bfb3b7fbba85643969f3c90 Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Wed, 16 Mar 2016 22:36:24 +0000 Subject: 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 --- qpid/cpp/bindings/qmf2/examples/cpp/CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'qpid/cpp/bindings') 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) -- cgit v1.2.1