Skip to content

Commit ed6b91d

Browse files
committed
Fix for LLAMA_WIN_VER default value, fixes #5158
Updated CMakeLists.txt to set `LLAMA_WIN_VER` with `set()` instead of `option()` (which is specifically for booleans).
1 parent 3c0d25c commit ed6b91d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ if (NOT MSVC)
7979
endif()
8080

8181
if (WIN32)
82-
option(LLAMA_WIN_VER "llama: Windows Version" 0x602)
82+
set(LLAMA_WIN_VER "0x602" CACHE STRING "llama: Windows Version")
8383
endif()
8484

8585
# 3rd party libs

0 commit comments

Comments
 (0)