cmake : fix version cmp (#7227)

This commit is contained in:
Georgi Gerganov 2024-05-12 18:30:23 +03:00
parent b228aba91a
commit 6f1b63606f
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

View File

@ -296,7 +296,7 @@ if (LLAMA_BLAS)
if (LLAMA_STATIC) if (LLAMA_STATIC)
set(BLA_STATIC ON) set(BLA_STATIC ON)
endif() endif()
if ($(CMAKE_VERSION) VERSION_GREATER_EQUAL 3.22) if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.22)
set(BLA_SIZEOF_INTEGER 8) set(BLA_SIZEOF_INTEGER 8)
endif() endif()