mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-05-29 15:34:08 +02:00
Fix cmake to support versions 3.1 and above
VERSION_GREATER_EQUAL is available since cmake 3.7 only
This commit is contained in:
parent
4022c2fc00
commit
25d6f84f3c
@ -184,7 +184,7 @@ INSTALL (DIRECTORY include/
|
|||||||
|
|
||||||
INCLUDE (CMakePackageConfigHelpers)
|
INCLUDE (CMakePackageConfigHelpers)
|
||||||
|
|
||||||
IF (CMAKE_VERSION VERSION_GREATER_EQUAL 3.14)
|
IF (NOT (CMAKE_VERSION VERSION_LESS 3.14))
|
||||||
SET (extra_version_file_args ARCH_INDEPENDENT)
|
SET (extra_version_file_args ARCH_INDEPENDENT)
|
||||||
ENDIF ()
|
ENDIF ()
|
||||||
SET (cmake_config_path "lib/cmake/msgpackc-cxx")
|
SET (cmake_config_path "lib/cmake/msgpackc-cxx")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user