You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2017/11/15 21:05:32 UTC
[08/31] qpid-proton git commit: PROTON-1597: Add
cmake_minimum_required() to examples which need to compile separately
PROTON-1597: Add cmake_minimum_required() to examples which need to compile separately
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/4c21712a
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/4c21712a
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/4c21712a
Branch: refs/heads/go1
Commit: 4c21712aa12d49ee9168656814cce2c9caff0997
Parents: b9bb35b
Author: Andrew Stitcher <as...@apache.org>
Authored: Fri Oct 20 16:11:57 2017 -0400
Committer: Andrew Stitcher <as...@apache.org>
Committed: Fri Oct 20 16:11:57 2017 -0400
----------------------------------------------------------------------
examples/c/CMakeLists.txt | 1 +
examples/cpp/CMakeLists.txt | 2 ++
2 files changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/4c21712a/examples/c/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/examples/c/CMakeLists.txt b/examples/c/CMakeLists.txt
index d2d0fcf..08a7a74 100644
--- a/examples/c/CMakeLists.txt
+++ b/examples/c/CMakeLists.txt
@@ -16,6 +16,7 @@
# specific language governing permissions and limitations
# under the License.
#
+cmake_minimum_required (VERSION 2.8.7)
find_package(Proton REQUIRED Core Proactor)
set(CMAKE_THREAD_PREFER_PTHREAD TRUE)
http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/4c21712a/examples/cpp/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/examples/cpp/CMakeLists.txt b/examples/cpp/CMakeLists.txt
index cf6b958..f00556c 100644
--- a/examples/cpp/CMakeLists.txt
+++ b/examples/cpp/CMakeLists.txt
@@ -16,6 +16,8 @@
# specific language governing permissions and limitations
# under the License.
#
+cmake_minimum_required (VERSION 2.8.7)
+
enable_language(CXX)
find_package(ProtonCpp REQUIRED)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org