Skip to content

Commit a273d74

Browse files
committed
cmake: Improve version comparison
1 parent 6a58b48 commit a273d74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.13)
22

3-
if(CMAKE_VERSION VERSION_GREATER 3.14)
3+
if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.15)
44
# MSVC runtime library flags are selected by the CMAKE_MSVC_RUNTIME_LIBRARY abstraction.
55
cmake_policy(SET CMP0091 NEW)
66
# MSVC warning flags are not in CMAKE_<LANG>_FLAGS by default.

0 commit comments

Comments
 (0)