summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWelby Seely <welbyseely@gmail.com>2024-02-03 23:18:51 -0500
committerGitHub <noreply@github.com>2024-02-03 23:18:51 -0500
commit277fad30c60ef3559dc2d01b19d05e659d40a824 (patch)
tree2d5987d21b90cf2794418960f5d7cd98bf2d5a6f
parent3c0d25c4756742ebf15ad44700fabc0700c638bd (diff)
cmake : use set() for LLAMA_WIN_VER (#5298)
option() is specifically for booleans. Fixes #5158
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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