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).
This commit is contained in:
Welby Seely 2024-02-03 02:00:38 -05:00
parent 3c0d25c475
commit ed6b91d57c

View file

@ -79,7 +79,7 @@ if (NOT MSVC)
endif() endif()
if (WIN32) if (WIN32)
option(LLAMA_WIN_VER "llama: Windows Version" 0x602) set(LLAMA_WIN_VER "0x602" CACHE STRING "llama: Windows Version")
endif() endif()
# 3rd party libs # 3rd party libs