1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97
|
From: =?utf-8?q?Timo_R=C3=B6hling?= <roehling@debian.org>
Date: Sat, 27 May 2023 21:50:11 +0200
Subject: Move project() statement below cmake_minimum_required()
---
examples/dynsub/CMakeLists.txt | 2 +-
examples/helloworld/CMakeLists.txt | 2 +-
examples/listtopics/CMakeLists.txt | 2 +-
examples/roundtrip/CMakeLists.txt | 2 +-
examples/shm_throughput/CMakeLists.txt | 2 +-
examples/throughput/CMakeLists.txt | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/examples/dynsub/CMakeLists.txt b/examples/dynsub/CMakeLists.txt
index db3f76a..03840bd 100644
--- a/examples/dynsub/CMakeLists.txt
+++ b/examples/dynsub/CMakeLists.txt
@@ -9,8 +9,8 @@
#
# SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
#
-project(dynsub LANGUAGES C)
cmake_minimum_required(VERSION 3.16)
+project(dynsub LANGUAGES C)
if(NOT TARGET CycloneDDS::ddsc)
find_package(CycloneDDS REQUIRED)
diff --git a/examples/helloworld/CMakeLists.txt b/examples/helloworld/CMakeLists.txt
index ac0a342..c7292d5 100644
--- a/examples/helloworld/CMakeLists.txt
+++ b/examples/helloworld/CMakeLists.txt
@@ -9,8 +9,8 @@
#
# SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
#
-project(helloword LANGUAGES C)
cmake_minimum_required(VERSION 3.16)
+project(helloword LANGUAGES C)
if(NOT TARGET CycloneDDS::ddsc)
# Find the CycloneDDS package.
diff --git a/examples/listtopics/CMakeLists.txt b/examples/listtopics/CMakeLists.txt
index 3903487..42e14a3 100644
--- a/examples/listtopics/CMakeLists.txt
+++ b/examples/listtopics/CMakeLists.txt
@@ -9,8 +9,8 @@
#
# SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
#
-project(listtopics LANGUAGES C)
cmake_minimum_required(VERSION 3.16)
+project(listtopics LANGUAGES C)
if(NOT TARGET CycloneDDS::ddsc)
find_package(CycloneDDS REQUIRED)
diff --git a/examples/roundtrip/CMakeLists.txt b/examples/roundtrip/CMakeLists.txt
index a7d0a16..916187e 100644
--- a/examples/roundtrip/CMakeLists.txt
+++ b/examples/roundtrip/CMakeLists.txt
@@ -9,8 +9,8 @@
#
# SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
#
-project(roundtrip LANGUAGES C)
cmake_minimum_required(VERSION 3.16)
+project(roundtrip LANGUAGES C)
if(NOT TARGET CycloneDDS::ddsc)
# Find the CycloneDDS package.
diff --git a/examples/shm_throughput/CMakeLists.txt b/examples/shm_throughput/CMakeLists.txt
index df30cb6..25799c9 100644
--- a/examples/shm_throughput/CMakeLists.txt
+++ b/examples/shm_throughput/CMakeLists.txt
@@ -9,8 +9,8 @@
#
# SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
#
-project(shm_throughput LANGUAGES C)
cmake_minimum_required(VERSION 3.16)
+project(shm_throughput LANGUAGES C)
if(NOT TARGET CycloneDDS::ddsc)
# Find the CycloneDDS package.
diff --git a/examples/throughput/CMakeLists.txt b/examples/throughput/CMakeLists.txt
index 5d4e430..17ad275 100644
--- a/examples/throughput/CMakeLists.txt
+++ b/examples/throughput/CMakeLists.txt
@@ -9,8 +9,8 @@
#
# SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
#
-project(throughput LANGUAGES C)
cmake_minimum_required(VERSION 3.16)
+project(throughput LANGUAGES C)
if(NOT TARGET CycloneDDS::ddsc)
# Find the CycloneDDS package.
|