Skip to content

Commit 25d6f84

Browse files
committed
Fix cmake to support versions 3.1 and above
VERSION_GREATER_EQUAL is available since cmake 3.7 only
1 parent 4022c2f commit 25d6f84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ INSTALL (DIRECTORY include/
184184

185185
INCLUDE (CMakePackageConfigHelpers)
186186

187-
IF (CMAKE_VERSION VERSION_GREATER_EQUAL 3.14)
187+
IF (NOT (CMAKE_VERSION VERSION_LESS 3.14))
188188
SET (extra_version_file_args ARCH_INDEPENDENT)
189189
ENDIF ()
190190
SET (cmake_config_path "lib/cmake/msgpackc-cxx")

0 commit comments

Comments
 (0)