summaryrefslogtreecommitdiff
path: root/cpp/CMakeLists.txt
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2009-04-28 21:51:54 +0000
committerAndrew Stitcher <astitcher@apache.org>2009-04-28 21:51:54 +0000
commit74f0c66f82564a2ac145313fbdc351ef050a2026 (patch)
tree8cbb3b6bfd17c15519f06b1b24fb5e26bf76258a /cpp/CMakeLists.txt
parentb97244e49105b7adda0d8798383ea63c1986fed6 (diff)
downloadqpid-python-74f0c66f82564a2ac145313fbdc351ef050a2026.tar.gz
Fixed to allow use of cmake 2.4
Fixes to allow cmake to build all the plugin modules as before git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@769559 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/CMakeLists.txt')
-rw-r--r--cpp/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt
index 9d561943bf..522d54dd39 100644
--- a/cpp/CMakeLists.txt
+++ b/cpp/CMakeLists.txt
@@ -17,7 +17,11 @@
# under the License.
#
project(qpidc)
-cmake_minimum_required(VERSION 2.6.0 FATAL_ERROR)
+cmake_minimum_required(VERSION 2.4.0 FATAL_ERROR)
+if(COMMAND cmake_policy)
+ cmake_policy(SET CMP0003 NEW)
+endif(COMMAND cmake_policy)
+
set (qpidc_version 0.5)
enable_testing()