Skip to content

Commit

Permalink
cmake : use set() for LLAMA_WIN_VER (ggerganov#5298)
Browse files Browse the repository at this point in the history
option() is specifically for booleans.

Fixes ggerganov#5158
  • Loading branch information
crimsonmagick authored Feb 4, 2024
1 parent 3c0d25c commit 277fad3
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 277fad3

Please sign in to comment.