aboutsummaryrefslogtreecommitdiff
path: root/demo
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2024-12-29 00:29:51 -0800
committerGarrett D'Amore <garrett@damore.org>2024-12-29 00:29:51 -0800
commit60ff324b1e6e5124dbbfefec732940512ed40f87 (patch)
treed64e94bf1462ff1411e5cf724db9c2b935ff0a67 /demo
parentb5462f65ffa1737df7385c0955527749b77629bd (diff)
downloadnng-60ff324b1e6e5124dbbfefec732940512ed40f87.tar.gz
nng-60ff324b1e6e5124dbbfefec732940512ed40f87.tar.bz2
nng-60ff324b1e6e5124dbbfefec732940512ed40f87.zip
demos: bump cmake version required to 3.15
This fixes problems finding the threads library. There may still be problems building these with TLS libraries added, as those dependencies may not be satisfied if the library lacks a cmake configuration file.
Diffstat (limited to 'demo')
-rw-r--r--demo/async/CMakeLists.txt4
-rw-r--r--demo/http_client/CMakeLists.txt4
-rw-r--r--demo/pubsub_forwarder/CMakeLists.txt2
-rw-r--r--demo/raw/CMakeLists.txt4
-rw-r--r--demo/reqrep/CMakeLists.txt4
-rw-r--r--demo/rest/CMakeLists.txt4
-rw-r--r--demo/stream/CMakeLists.txt2
7 files changed, 12 insertions, 12 deletions
diff --git a/demo/async/CMakeLists.txt b/demo/async/CMakeLists.txt
index ef9311bf..51ec014d 100644
--- a/demo/async/CMakeLists.txt
+++ b/demo/async/CMakeLists.txt
@@ -1,13 +1,13 @@
#
+# Copyright 2024 Staysail Systems, Inc. <info@staysail.tech>
# Copyright 2018 Capitar IT Group BV <info@capitar.com>
-# Copyright 2018 Staysail Systems, Inc. <info@staysail.tech>
#
# This software is supplied under the terms of the MIT License, a
# copy of which should be located in the distribution where this
# file was obtained (LICENSE.txt). A copy of the license may also be
# found online at https://opensource.org/licenses/MIT.
-cmake_minimum_required (VERSION 2.8.12)
+cmake_minimum_required (VERSION 3.15)
project(nng-asyncdemo)
diff --git a/demo/http_client/CMakeLists.txt b/demo/http_client/CMakeLists.txt
index 8f4b62f4..c822f515 100644
--- a/demo/http_client/CMakeLists.txt
+++ b/demo/http_client/CMakeLists.txt
@@ -1,13 +1,13 @@
#
# Copyright 2018 Capitar IT Group BV <info@capitar.com>
-# Copyright 2018 Staysail Systems, Inc. <info@staysail.tech>
+# Copyright 2024 Staysail Systems, Inc. <info@staysail.tech>
#
# This software is supplied under the terms of the MIT License, a
# copy of which should be located in the distribution where this
# file was obtained (LICENSE.txt). A copy of the license may also be
# found online at https://opensource.org/licenses/MIT.
-cmake_minimum_required (VERSION 2.8.12)
+cmake_minimum_required (VERSION 3.15)
project(http_client)
diff --git a/demo/pubsub_forwarder/CMakeLists.txt b/demo/pubsub_forwarder/CMakeLists.txt
index 821e05c0..7fa12f5a 100644
--- a/demo/pubsub_forwarder/CMakeLists.txt
+++ b/demo/pubsub_forwarder/CMakeLists.txt
@@ -3,7 +3,7 @@
# file was obtained (LICENSE.txt). A copy of the license may also be
# found online at https://opensource.org/licenses/MIT.
-cmake_minimum_required(VERSION 3.10)
+cmake_minimum_required(VERSION 3.15)
project(pubsub_forwarder C)
# Find the nng library
diff --git a/demo/raw/CMakeLists.txt b/demo/raw/CMakeLists.txt
index 2df8d394..b8825ce8 100644
--- a/demo/raw/CMakeLists.txt
+++ b/demo/raw/CMakeLists.txt
@@ -1,13 +1,13 @@
#
+# Copyright 2024 Staysail Systems, Inc. <info@staysail.tech>
# Copyright 2018 Capitar IT Group BV <info@capitar.com>
-# Copyright 2018 Staysail Systems, Inc. <info@staysail.tech>
#
# This software is supplied under the terms of the MIT License, a
# copy of which should be located in the distribution where this
# file was obtained (LICENSE.txt). A copy of the license may also be
# found online at https://opensource.org/licenses/MIT.
-cmake_minimum_required (VERSION 2.8.12)
+cmake_minimum_required (VERSION 3.15)
project(raw)
diff --git a/demo/reqrep/CMakeLists.txt b/demo/reqrep/CMakeLists.txt
index 872666bb..437f7f64 100644
--- a/demo/reqrep/CMakeLists.txt
+++ b/demo/reqrep/CMakeLists.txt
@@ -1,13 +1,13 @@
#
+# Copyright 2024 Staysail Systems, Inc. <info@staysail.tech>
# Copyright 2018 Capitar IT Group BV <info@capitar.com>
-# Copyright 2018 Staysail Systems, Inc. <info@staysail.tech>
#
# This software is supplied under the terms of the MIT License, a
# copy of which should be located in the distribution where this
# file was obtained (LICENSE.txt). A copy of the license may also be
# found online at https://opensource.org/licenses/MIT.
-cmake_minimum_required (VERSION 2.8.12)
+cmake_minimum_required (VERSION 3.15)
project(reqrep)
diff --git a/demo/rest/CMakeLists.txt b/demo/rest/CMakeLists.txt
index d5dd4fe4..eae91227 100644
--- a/demo/rest/CMakeLists.txt
+++ b/demo/rest/CMakeLists.txt
@@ -1,13 +1,13 @@
#
+# Copyright 2024 Staysail Systems, Inc. <info@staysail.tech>
# Copyright 2018 Capitar IT Group BV <info@capitar.com>
-# Copyright 2018 Staysail Systems, Inc. <info@staysail.tech>
#
# This software is supplied under the terms of the MIT License, a
# copy of which should be located in the distribution where this
# file was obtained (LICENSE.txt). A copy of the license may also be
# found online at https://opensource.org/licenses/MIT.
-cmake_minimum_required (VERSION 2.8.12)
+cmake_minimum_required (VERSION 3.15)
project(rest)
diff --git a/demo/stream/CMakeLists.txt b/demo/stream/CMakeLists.txt
index 3b767690..22d3121a 100644
--- a/demo/stream/CMakeLists.txt
+++ b/demo/stream/CMakeLists.txt
@@ -6,7 +6,7 @@
# file was obtained (LICENSE.txt). A copy of the license may also be
# found online at https://opensource.org/licenses/MIT.
-cmake_minimum_required (VERSION 2.8.7)
+cmake_minimum_required (VERSION 3.15)
project(stream)