Skip to content

Commit 4506175

Browse files
committed
fix cmake 4 fails on CuteLogger
add a policy-max version for CMake
1 parent 983008d commit 4506175

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.13)
1+
cmake_minimum_required(VERSION 3.13...3.31)
22

33
if (${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.20")
44
cmake_policy(SET CMP0115 NEW)

CuteLogger/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CMAKE_MINIMUM_REQUIRED(VERSION 3.1)
1+
CMAKE_MINIMUM_REQUIRED(VERSION 3.5...3.31)
22

33
PROJECT(CuteLogger)
44

0 commit comments

Comments
 (0)