From: Welby Seely Date: Sun, 4 Feb 2024 04:18:51 +0000 (-0500) Subject: cmake : use set() for LLAMA_WIN_VER (#5298) X-Git-Tag: upstream/0.0.4488~2428 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=277fad30c60ef3559dc2d01b19d05e659d40a824;p=pkg%2Fggml%2Fsources%2Fllama.cpp cmake : use set() for LLAMA_WIN_VER (#5298) option() is specifically for booleans. Fixes #5158 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index c156c482..8c04e4c1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -79,7 +79,7 @@ if (NOT MSVC) endif() if (WIN32) - option(LLAMA_WIN_VER "llama: Windows Version" 0x602) + set(LLAMA_WIN_VER "0x602" CACHE STRING "llama: Windows Version") endif() # 3rd party libs