Skip to content

Commit bd31f37

Browse files
committed
Define compatible version range to avoid warnings
This uses the legal "...max" trick which works since version 3.12 while retaining compatibility with older versions.
1 parent c5191ce commit bd31f37

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.5)
1+
cmake_minimum_required(VERSION 3.5...3.15)
22
CMAKE_POLICY (SET CMP0053 NEW)
33
PROJECT(ICEWM CXX)
44

lib/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.5)
1+
cmake_minimum_required(VERSION 3.5...3.15)
22
PROJECT(ICEWM CXX)
33

44
#

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
# to use target_link_options
3-
cmake_minimum_required(VERSION 3.5)
3+
cmake_minimum_required(VERSION 3.5...3.15)
44

55
PROJECT(ICEWM CXX)
66

0 commit comments

Comments
 (0)