]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
cmake : fix version cmp (#7227)
authorGeorgi Gerganov <redacted>
Sun, 12 May 2024 15:30:23 +0000 (18:30 +0300)
committerGeorgi Gerganov <redacted>
Sun, 12 May 2024 15:30:23 +0000 (18:30 +0300)
CMakeLists.txt

index 362ab3673c77e49518548dfec67669d115e4c9bb..1c3b5c8e423cc30a91b6ee7a9baffa8cf44b5483 100644 (file)
@@ -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()