Skip to content

Commit

Permalink
demos: bump cmake version required to 3.15
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
gdamore committed Dec 29, 2024
1 parent b5462f6 commit 60ff324
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions demo/async/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#
# Copyright 2024 Staysail Systems, Inc. <[email protected]>
# Copyright 2018 Capitar IT Group BV <[email protected]>
# Copyright 2018 Staysail Systems, Inc. <[email protected]>
#
# 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)

Expand Down
4 changes: 2 additions & 2 deletions demo/http_client/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#
# Copyright 2018 Capitar IT Group BV <[email protected]>
# Copyright 2018 Staysail Systems, Inc. <[email protected]>
# Copyright 2024 Staysail Systems, Inc. <[email protected]>
#
# 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)

Expand Down
2 changes: 1 addition & 1 deletion demo/pubsub_forwarder/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions demo/raw/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#
# Copyright 2024 Staysail Systems, Inc. <[email protected]>
# Copyright 2018 Capitar IT Group BV <[email protected]>
# Copyright 2018 Staysail Systems, Inc. <[email protected]>
#
# 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)

Expand Down
4 changes: 2 additions & 2 deletions demo/reqrep/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#
# Copyright 2024 Staysail Systems, Inc. <[email protected]>
# Copyright 2018 Capitar IT Group BV <[email protected]>
# Copyright 2018 Staysail Systems, Inc. <[email protected]>
#
# 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)

Expand Down
4 changes: 2 additions & 2 deletions demo/rest/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#
# Copyright 2024 Staysail Systems, Inc. <[email protected]>
# Copyright 2018 Capitar IT Group BV <[email protected]>
# Copyright 2018 Staysail Systems, Inc. <[email protected]>
#
# 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)

Expand Down
2 changes: 1 addition & 1 deletion demo/stream/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 60ff324

Please sign in to comment.