cmake : fix deprecated option names not working
This commit is contained in:
parent
97877eb10b
commit
5c313f7bdf
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ set(GGML_CUDA_USE_GRAPHS ON)
|
||||||
function (llama_option_depr TYPE OLD NEW)
|
function (llama_option_depr TYPE OLD NEW)
|
||||||
if (${OLD})
|
if (${OLD})
|
||||||
message(${TYPE} "${OLD} is deprecated and will be removed in the future.\nUse ${NEW} instead\n")
|
message(${TYPE} "${OLD} is deprecated and will be removed in the future.\nUse ${NEW} instead\n")
|
||||||
set(${NEW} ON)
|
set(${NEW} ON PARENT_SCOPE)
|
||||||
endif()
|
endif()
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue