From: Georgi Gerganov Date: Sun, 12 May 2024 15:30:23 +0000 (+0300) Subject: cmake : fix version cmp (#7227) X-Git-Tag: upstream/0.0.4488~1626 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=6f1b63606fc68a09d62d1d74dbd156c35219026d;p=pkg%2Fggml%2Fsources%2Fllama.cpp cmake : fix version cmp (#7227) --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 362ab367..1c3b5c8e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -296,7 +296,7 @@ if (LLAMA_BLAS) if (LLAMA_STATIC) set(BLA_STATIC ON) endif() - if ($(CMAKE_VERSION) VERSION_GREATER_EQUAL 3.22) + if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.22) set(BLA_SIZEOF_INTEGER 8) endif()