Skip to content

Commit

Permalink
Fix for LLAMA_WIN_VER default value, fixes #5158
Browse files Browse the repository at this point in the history
Updated CMakeLists.txt to set `LLAMA_WIN_VER` with `set()` instead of `option()` (which is specifically for booleans).
  • Loading branch information
crimsonmagick committed Feb 3, 2024
1 parent 3c0d25c commit ed6b91d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ed6b91d

Please sign in to comment.