Skip to content

Commit

Permalink
cmake: Improve version comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
hebasto committed Apr 20, 2023
1 parent 6a58b48 commit a273d74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.13)

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

0 comments on commit a273d74

Please sign in to comment.