You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ch...@apache.org on 2016/12/20 18:26:12 UTC

qpid-cpp git commit: QPID-7595: Raise minimum cmake version for windows

Repository: qpid-cpp
Updated Branches:
  refs/heads/master 3e1746577 -> dd8e5b350


QPID-7595: Raise minimum cmake version for windows


Project: http://git-wip-us.apache.org/repos/asf/qpid-cpp/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-cpp/commit/dd8e5b35
Tree: http://git-wip-us.apache.org/repos/asf/qpid-cpp/tree/dd8e5b35
Diff: http://git-wip-us.apache.org/repos/asf/qpid-cpp/diff/dd8e5b35

Branch: refs/heads/master
Commit: dd8e5b350b6d89263754b8bf781376d78d150490
Parents: 3e17465
Author: Chuck Rolke <cr...@redhat.com>
Authored: Tue Dec 20 13:28:11 2016 -0500
Committer: Chuck Rolke <cr...@redhat.com>
Committed: Tue Dec 20 13:28:11 2016 -0500

----------------------------------------------------------------------
 CMakeLists.txt | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-cpp/blob/dd8e5b35/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0d0a44f..80c633b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,7 +19,12 @@
 
 project(qpid-cpp)
 
-cmake_minimum_required(VERSION 2.8.7 FATAL_ERROR)
+if (NOT MSVC)
+  cmake_minimum_required(VERSION 2.8.7 FATAL_ERROR)
+else (NOT MSVC)
+  # windows PDB file installation needs v3.1
+  cmake_minimum_required(VERSION 3.1.3 FATAL_ERROR)
+endif (NOT MSVC)
 
 if (CMAKE_CONFIGURATION_TYPES)
   # There is no single "build type"...


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org