Skip to content

Commit 277fad3

Browse files
cmake : use set() for LLAMA_WIN_VER (#5298)
option() is specifically for booleans. Fixes #5158
1 parent 3c0d25c commit 277fad3

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)