diff options
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | cassert/CMakeLists.txt | 2 | ||||
-rw-r--r-- | cstring/CMakeLists.txt | 2 | ||||
-rw-r--r-- | error/CMakeLists.txt | 2 | ||||
-rw-r--r-- | filesystem/CMakeLists.txt | 2 | ||||
-rw-r--r-- | list/CMakeLists.txt | 2 | ||||
-rw-r--r-- | log/CMakeLists.txt | 2 | ||||
-rw-r--r-- | mem/CMakeLists.txt | 2 | ||||
-rw-r--r-- | mempool/CMakeLists.txt | 6 | ||||
-rw-r--r-- | plugin/CMakeLists.txt | 2 | ||||
-rw-r--r-- | random/CMakeLists.txt | 2 | ||||
-rw-r--r-- | test/CMakeLists.txt | 2 | ||||
-rw-r--r-- | timer/CMakeLists.txt | 4 |
13 files changed, 18 insertions, 14 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index dae71bf..04e0e4e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | cmake_minimum_required(VERSION 3.0) | 1 | cmake_minimum_required(VERSION 3.5) |
2 | 2 | ||
3 | project(clib) | 3 | project(clib) |
4 | 4 | ||
diff --git a/cassert/CMakeLists.txt b/cassert/CMakeLists.txt index 855f261..13e5560 100644 --- a/cassert/CMakeLists.txt +++ b/cassert/CMakeLists.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | cmake_minimum_required(VERSION 3.0) | 1 | cmake_minimum_required(VERSION 3.5) |
2 | 2 | ||
3 | project(cassert) | 3 | project(cassert) |
4 | 4 | ||
diff --git a/cstring/CMakeLists.txt b/cstring/CMakeLists.txt index bc385c3..1d1dfe4 100644 --- a/cstring/CMakeLists.txt +++ b/cstring/CMakeLists.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | cmake_minimum_required(VERSION 3.0) | 1 | cmake_minimum_required(VERSION 3.5) |
2 | 2 | ||
3 | project(cstring) | 3 | project(cstring) |
4 | 4 | ||
diff --git a/error/CMakeLists.txt b/error/CMakeLists.txt index e47a1f9..7d7d03b 100644 --- a/error/CMakeLists.txt +++ b/error/CMakeLists.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | cmake_minimum_required(VERSION 3.0) | 1 | cmake_minimum_required(VERSION 3.5) |
2 | 2 | ||
3 | project(error) | 3 | project(error) |
4 | 4 | ||
diff --git a/filesystem/CMakeLists.txt b/filesystem/CMakeLists.txt index 04390f4..07cfdc4 100644 --- a/filesystem/CMakeLists.txt +++ b/filesystem/CMakeLists.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | cmake_minimum_required(VERSION 3.0) | 1 | cmake_minimum_required(VERSION 3.5) |
2 | 2 | ||
3 | project(filesystem) | 3 | project(filesystem) |
4 | 4 | ||
diff --git a/list/CMakeLists.txt b/list/CMakeLists.txt index 6e76ec6..5e335cc 100644 --- a/list/CMakeLists.txt +++ b/list/CMakeLists.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | cmake_minimum_required(VERSION 3.0) | 1 | cmake_minimum_required(VERSION 3.5) |
2 | 2 | ||
3 | project(list) | 3 | project(list) |
4 | 4 | ||
diff --git a/log/CMakeLists.txt b/log/CMakeLists.txt index eed76f4..cc103c5 100644 --- a/log/CMakeLists.txt +++ b/log/CMakeLists.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | cmake_minimum_required(VERSION 3.0) | 1 | cmake_minimum_required(VERSION 3.5) |
2 | 2 | ||
3 | add_library(log | 3 | add_library(log |
4 | src/log.c) | 4 | src/log.c) |
diff --git a/mem/CMakeLists.txt b/mem/CMakeLists.txt index e4b28c3..007a95b 100644 --- a/mem/CMakeLists.txt +++ b/mem/CMakeLists.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | cmake_minimum_required(VERSION 3.0) | 1 | cmake_minimum_required(VERSION 3.5) |
2 | 2 | ||
3 | project(mem) | 3 | project(mem) |
4 | 4 | ||
diff --git a/mempool/CMakeLists.txt b/mempool/CMakeLists.txt index 8c9dd30..31ff0e1 100644 --- a/mempool/CMakeLists.txt +++ b/mempool/CMakeLists.txt | |||
@@ -1,7 +1,11 @@ | |||
1 | cmake_minimum_required(VERSION 3.0) | 1 | cmake_minimum_required(VERSION 3.5) |
2 | 2 | ||
3 | project(mempool) | 3 | project(mempool) |
4 | 4 | ||
5 | set(CMAKE_C_STANDARD 23) | ||
6 | set(CMAKE_C_STANDARD_REQUIRED On) | ||
7 | set(CMAKE_C_EXTENSIONS Off) | ||
8 | |||
5 | # Library | 9 | # Library |
6 | 10 | ||
7 | add_library(mempool | 11 | add_library(mempool |
diff --git a/plugin/CMakeLists.txt b/plugin/CMakeLists.txt index 0cfadc1..58b956e 100644 --- a/plugin/CMakeLists.txt +++ b/plugin/CMakeLists.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | cmake_minimum_required(VERSION 3.0) | 1 | cmake_minimum_required(VERSION 3.5) |
2 | 2 | ||
3 | project(plugin) | 3 | project(plugin) |
4 | 4 | ||
diff --git a/random/CMakeLists.txt b/random/CMakeLists.txt index 188d16b..ad1b684 100644 --- a/random/CMakeLists.txt +++ b/random/CMakeLists.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | cmake_minimum_required(VERSION 3.0) | 1 | cmake_minimum_required(VERSION 3.5) |
2 | 2 | ||
3 | project(random) | 3 | project(random) |
4 | 4 | ||
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 102568c..c67f680 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | cmake_minimum_required(VERSION 3.0) | 1 | cmake_minimum_required(VERSION 3.5) |
2 | 2 | ||
3 | project(test) | 3 | project(test) |
4 | 4 | ||
diff --git a/timer/CMakeLists.txt b/timer/CMakeLists.txt index 6d8846a..717f70b 100644 --- a/timer/CMakeLists.txt +++ b/timer/CMakeLists.txt | |||
@@ -1,11 +1,11 @@ | |||
1 | cmake_minimum_required(VERSION 3.0) | 1 | cmake_minimum_required(VERSION 3.5) |
2 | 2 | ||
3 | project(timer) | 3 | project(timer) |
4 | 4 | ||
5 | # Library | 5 | # Library |
6 | 6 | ||
7 | set(SRC | 7 | set(SRC |
8 | src/timer.c) | 8 | src/timer.c) |
9 | 9 | ||
10 | add_library(timer ${SRC}) | 10 | add_library(timer ${SRC}) |
11 | 11 | ||