cmake : use set() for LLAMA_WIN_VER (#5298)

option() is specifically for booleans.

Fixes #5158
This commit is contained in:
Welby Seely authored and GitHub committed 2024-02-03 23:18:51 -05:00
1 parent 3c0d25c475
commit 277fad30c6
1 file changed
+1 -1
+1 -1
View File
@@ -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